summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJules Laplace <jules@okfoc.us>2014-09-05 15:58:20 -0400
committerJules Laplace <jules@okfoc.us>2014-09-05 15:58:20 -0400
commit6d2746ad8a24f1ac3da5e9cb2ed452b73da20b71 (patch)
tree53280724427fcdffa1a0e10448570c65f17b8ee0
parent1082e3be99669671b6c745307131a7cb8d54eabc (diff)
admin link in footer
-rw-r--r--views/partials/footer.ejs3
1 files changed, 3 insertions, 0 deletions
diff --git a/views/partials/footer.ejs b/views/partials/footer.ejs
index 685aec1..3f816f0 100644
--- a/views/partials/footer.ejs
+++ b/views/partials/footer.ejs
@@ -13,6 +13,9 @@
<span>
you are signed in as &rarr;
<a href="/profile/[[- user.username ]]">[[- user.displayName ]]</a>
+ [[ if (user.isStaff) { ]]
+ <a href="/staff">Staff Area</a>
+ [[ } ]]
<a href="/logout" class="topLink">Sign Out?</a>
</span>
[[ } ]]