diff options
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"> |