Include admin menu in footer.
authorDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Wed, 25 Jul 2012 19:19:12 +0000 (21:19 +0200)
committerDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Thu, 26 Jul 2012 05:28:49 +0000 (07:28 +0200)
src/main/resources/templates/include/footer

index a099bea..8d894ee 100644 (file)
@@ -3,6 +3,12 @@
 <%ifnull currentUser>
 <a href="login">Login</a>
 <%else>
+<%if currentUser.god>
+admin:
+<a href="admin.artists">artists</a>
+|
+<%else>
+<%/if>
 <a href="logout">Logout</a>
 <%/if>
 </div>