aboutsummaryrefslogtreecommitdiff
path: root/pyaggr3g470r/templates/layout.html
diff options
context:
space:
mode:
authorCédric Bonhomme <cedric@cedricbonhomme.org>2014-04-09 20:14:33 +0200
committerCédric Bonhomme <cedric@cedricbonhomme.org>2014-04-09 20:14:33 +0200
commit5d220e360454e7643eb5539fa329702cb5c273c5 (patch)
tree2797e3e3c98c0d47e9515ab4a2c9fd4c0f3070bd /pyaggr3g470r/templates/layout.html
parentFixed bug for deployment on Heroku (3). (diff)
downloadnewspipe-5d220e360454e7643eb5539fa329702cb5c273c5.tar.gz
newspipe-5d220e360454e7643eb5539fa329702cb5c273c5.tar.bz2
newspipe-5d220e360454e7643eb5539fa329702cb5c273c5.zip
Management of users via the administrator's account.
Diffstat (limited to 'pyaggr3g470r/templates/layout.html')
-rw-r--r--pyaggr3g470r/templates/layout.html3
1 files changed, 3 insertions, 0 deletions
diff --git a/pyaggr3g470r/templates/layout.html b/pyaggr3g470r/templates/layout.html
index e89706e9..71572181 100644
--- a/pyaggr3g470r/templates/layout.html
+++ b/pyaggr3g470r/templates/layout.html
@@ -56,6 +56,9 @@
</ul>
</li>
<li><a accesskey="m" href="/management/">Management</a></li>
+ {% if g.user.is_admin() %}
+ <li><a href="{{ url_for('dashboard') }}"><span class="glyphicon glyphicon-dashboard"></span> Dashboard</a></li>
+ {% endif %}
<li><a href="/about/">About</a></li>
<li><a href="{{ url_for('logout') }}">Logout</a></li>
<li class="dropdown">
bgstack15