diff options
author | Magnus Hagander | 2014-04-22 16:55:10 +0000 |
---|---|---|
committer | Magnus Hagander | 2014-04-22 16:55:10 +0000 |
commit | 0084d279d426e8a4f9740f71adb30239202bf19c (patch) | |
tree | 5d389dac134e333ecc82e17a515eae5c4d41de9d /pgcommitfest | |
parent | 91ea04ba30ce610bfe4da36971aaab663d13534a (diff) |
Add link to admin interface in header
Diffstat (limited to 'pgcommitfest')
-rw-r--r-- | pgcommitfest/commitfest/templates/base.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pgcommitfest/commitfest/templates/base.html b/pgcommitfest/commitfest/templates/base.html index 9495cbb..405f8b8 100644 --- a/pgcommitfest/commitfest/templates/base.html +++ b/pgcommitfest/commitfest/templates/base.html @@ -16,7 +16,7 @@ {%endfor%} <li class="active">{{title}}</li> {%if user.is_authenticated%} - <li class="pull-right active">Logged in as mha (<a href="/account/logout/">log out</a>)</li> + <li class="pull-right active">Logged in as mha (<a href="/account/logout/">log out</a>{%if user.is_staff%} or access <a href="/admin/">administration</a>{%endif%})</li> {%endif%} </ul> |