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 /templates | |
parent | ef714898ab5a4869c055cf542b56644a4b4ede5d (diff) | |
download | django-skaschool-87c76a8d79e106e732bfeb2c259998349f2e79f3.tar.bz2 |
* updated 'introduction' url to index.html
* fixed comment in 'list_approved.html'
Diffstat (limited to 'templates')
-rw-r--r-- | templates/index.html | 4 |
1 files changed, 3 insertions, 1 deletions
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 #} |