diff options
Diffstat (limited to 'templates')
-rw-r--r-- | templates/registration/activation_complete.html | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/templates/registration/activation_complete.html b/templates/registration/activation_complete.html index d27622a..fb03a7e 100644 --- a/templates/registration/activation_complete.html +++ b/templates/registration/activation_complete.html @@ -15,7 +15,11 @@ <p class="lead">您已成功激活账户。</p> <br> + {% if user.is_authenticated %} + <p><a href="{% url 'profile' %}" class="btn btn-primary">进入个人主页</a></p> + {% else %} <p><a href="{% url 'login' %}" class="btn btn-primary">登录</a></p> + {% endif %} </div> {% endblock %} |