aboutsummaryrefslogtreecommitdiffstats
path: root/templates/index.html
diff options
context:
space:
mode:
authorWeitian LI <liweitianux@gmail.com>2014-04-22 23:18:28 +0800
committerWeitian LI <liweitianux@gmail.com>2014-04-22 23:18:28 +0800
commit87c76a8d79e106e732bfeb2c259998349f2e79f3 (patch)
tree42eb46aa1dcf988421880c9bbf758046cdcfec1e /templates/index.html
parentef714898ab5a4869c055cf542b56644a4b4ede5d (diff)
downloaddjango-skaschool-87c76a8d79e106e732bfeb2c259998349f2e79f3.tar.bz2
* updated 'introduction' url to index.html
* fixed comment in 'list_approved.html'
Diffstat (limited to 'templates/index.html')
-rw-r--r--templates/index.html4
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 #}