summaryrefslogtreecommitdiffhomepage
path: root/apioforum/templates/base.html
diff options
context:
space:
mode:
Diffstat (limited to 'apioforum/templates/base.html')
-rw-r--r--apioforum/templates/base.html5
1 files changed, 5 insertions, 0 deletions
diff --git a/apioforum/templates/base.html b/apioforum/templates/base.html
index 5121b85..bf3748f 100644
--- a/apioforum/templates/base.html
+++ b/apioforum/templates/base.html
@@ -20,6 +20,11 @@
{% if g.user %}
<p>{{ g.user }}</p>
+
+ {% if is_admin %}
+ <p><a href="{{url_for('admin.admin_page')}}">admin</a></p>
+ {% endif %}
+
<p>
<a href="{{ url_for('auth.logout',next=path_for_next) }}">
logout