From 41dca46235c15578aab159074c99c904597c5fb2 Mon Sep 17 00:00:00 2001 From: nanalelfe Date: Sat, 23 Jul 2016 07:27:52 -0400 Subject: Created admins collection. Added admin authentication. --- views/partials/header.hbs | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'views') diff --git a/views/partials/header.hbs b/views/partials/header.hbs index c9a6e4b..e404787 100644 --- a/views/partials/header.hbs +++ b/views/partials/header.hbs @@ -37,13 +37,17 @@ {{# if login }} -
  • Profile Page
  • + {{# if user.email }} +
  • Profile Page
  • + {{else}} +
  • Admin Panel
  • + {{/if}} {{ else }}
  • Sign In
  • {{/if}} -
  • Admin Panel
  • + - {{# if login}} + {{# if login }}
  • Logout
  • {{ else }}
  • Sign up
  • -- cgit v1.2.3