diff options
-rw-r--r-- | account/templates/account/list_approved.html | 2 | ||||
-rw-r--r-- | templates/index.html | 4 |
2 files changed, 4 insertions, 2 deletions
diff --git a/account/templates/account/list_approved.html b/account/templates/account/list_approved.html index 3fbe2a2..bf6bf2f 100644 --- a/account/templates/account/list_approved.html +++ b/account/templates/account/list_approved.html @@ -4,7 +4,7 @@ {% load i18n %} {% load bootstrap3 %} -{# login template #} +{# template to show the approved user list #} {% block title %} 审定名单 | 2014 SKA Summer School diff --git a/templates/index.html b/templates/index.html index 6b57b80..891be41 100644 --- a/templates/index.html +++ b/templates/index.html @@ -26,8 +26,10 @@ <br> <p> - <a href="#" class="btn btn-outline-inverse btn-lg">了解更多</a> + <a href="{% url 'introduction' %}" class="btn btn-outline-inverse btn-lg">了解更多</a> + {% if not user.is_authenticated %} <a href="{% url 'registration_register' %}" class="btn btn-outline-inverse btn-lg">注册参加</a> + {% endif %} </p> </div> {% endblock %} {# content #} |