aboutsummaryrefslogtreecommitdiffstats
path: root/templates/navbar.html
diff options
context:
space:
mode:
authorWeitian LI <liweitianux@gmail.com>2014-04-21 16:09:36 +0800
committerWeitian LI <liweitianux@gmail.com>2014-04-21 16:09:36 +0800
commit4c59c651baa7e9d29f90419c905745fd3ab025d8 (patch)
tree7d1e247b5d221bcaf3a51ccf4ee6aeeb350f14dd /templates/navbar.html
parentf2701f640bd483504021059a554cca582097eb4e (diff)
downloaddjango-skaschool-4c59c651baa7e9d29f90419c905745fd3ab025d8.tar.bz2
* implemented 'list_approved' view, added related template
* updated related link in 'navbar.html'
Diffstat (limited to 'templates/navbar.html')
-rw-r--r--templates/navbar.html3
1 files changed, 3 insertions, 0 deletions
diff --git a/templates/navbar.html b/templates/navbar.html
index 6296c6c..906bcf2 100644
--- a/templates/navbar.html
+++ b/templates/navbar.html
@@ -24,6 +24,9 @@
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown">更多 <b class="caret"></b></a>
<ul class="dropdown-menu">
+ {% if user.is_authenticated %}
+ <li><a href="{% url 'list_approved' %}">审定名单</a></li>
+ {% endif %}
<li><a href="#">下载</a></li>
<li><a href="#">赞助方</a></li>
<li><a href="#">联系方式</a></li>