Add link to admin interface in header
authorMagnus Hagander <magnus@hagander.net>
Tue, 22 Apr 2014 16:55:10 +0000 (18:55 +0200)
committerMagnus Hagander <magnus@hagander.net>
Tue, 22 Apr 2014 16:55:10 +0000 (18:55 +0200)
pgcommitfest/commitfest/templates/base.html

index 9495cbbe8c54ab4a8521631308fd171e61c3cc76..405f8b8372f8ef252dd67fe45401505fc482f55c 100644 (file)
@@ -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>