From 25818a71179e122151d1c6541af568663f2600a0 Mon Sep 17 00:00:00 2001 From: Noah Petherbridge Date: Thu, 25 Aug 2022 20:07:44 -0700 Subject: [PATCH] Add notifications menu to index page when logged in --- web/templates/base.html | 2 ++ web/templates/index.html | 53 ++++++++++++++++++++++++++++++++++++++-- 2 files changed, 53 insertions(+), 2 deletions(-) diff --git a/web/templates/base.html b/web/templates/base.html index 0f61998..2591a21 100644 --- a/web/templates/base.html +++ b/web/templates/base.html @@ -198,6 +198,7 @@ {{if .LoggedIn}}
+ {{if .CurrentUser.Certified}} @@ -207,6 +208,7 @@ href="/photo/gallery"> + {{end}} diff --git a/web/templates/index.html b/web/templates/index.html index 20ece7c..0ddb247 100644 --- a/web/templates/index.html +++ b/web/templates/index.html @@ -100,8 +100,57 @@

Welcome back, {{.CurrentUser.Username}}!

-
{{else}}