From 036427dfe207249ca5d6260ae1f6e8006ff90dd9 Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Thu, 12 Jun 2014 15:21:27 -0400 Subject: split up api module --- views/partials/header.ejs | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'views/partials/header.ejs') diff --git a/views/partials/header.ejs b/views/partials/header.ejs index 94d5a43..55505ed 100644 --- a/views/partials/header.ejs +++ b/views/partials/header.ejs @@ -2,13 +2,19 @@ [[ if (logged_in) { ]] - Layouts + + [[ if (user.isStaff) { ]] + Layouts + [[ } ]] + Projects + [[ if (profile && String(user._id) == String(profile._id)) { ]] Edit Profile [[ } else if (! profile) { ]] Profile [[ } ]] + [[ } else { ]] -- cgit v1.2.3-70-g09d2