diff options
author | Cédric Bonhomme <cedric@cedricbonhomme.org> | 2014-04-09 20:14:33 +0200 |
---|---|---|
committer | Cédric Bonhomme <cedric@cedricbonhomme.org> | 2014-04-09 20:14:33 +0200 |
commit | 5d220e360454e7643eb5539fa329702cb5c273c5 (patch) | |
tree | 2797e3e3c98c0d47e9515ab4a2c9fd4c0f3070bd /pyaggr3g470r/templates/layout.html | |
parent | Fixed bug for deployment on Heroku (3). (diff) | |
download | newspipe-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.html | 3 |
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"> |