diff options
author | Weitian LI <liweitianux@gmail.com> | 2014-04-22 23:18:28 +0800 |
---|---|---|
committer | Weitian LI <liweitianux@gmail.com> | 2014-04-22 23:18:28 +0800 |
commit | 87c76a8d79e106e732bfeb2c259998349f2e79f3 (patch) | |
tree | 42eb46aa1dcf988421880c9bbf758046cdcfec1e | |
parent | ef714898ab5a4869c055cf542b56644a4b4ede5d (diff) | |
download | django-skaschool-87c76a8d79e106e732bfeb2c259998349f2e79f3.tar.bz2 |
* updated 'introduction' url to index.html
* fixed comment in 'list_approved.html'
-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 #} |