From 01317a7ff8e9685cbe606666d44c082884a7d8fd Mon Sep 17 00:00:00 2001
From: Noah Petherbridge
Date: Mon, 31 Jul 2023 20:03:21 -0700
Subject: [PATCH] Admin certification page improvements
---
web/templates/account/profile.html | 14 ++++++++++++++
web/templates/admin/certification.html | 26 ++++++++++++++++++++++++++
2 files changed, 40 insertions(+)
diff --git a/web/templates/account/profile.html b/web/templates/account/profile.html
index 5cd571d..a9bcb87 100644
--- a/web/templates/account/profile.html
+++ b/web/templates/account/profile.html
@@ -75,6 +75,13 @@
Certified!
+
+
+ {{if .CurrentUser.IsAdmin}}
+
+ {{end}}
{{else}}
@@ -84,6 +91,13 @@
Not certified!
+
+
+ {{if .CurrentUser.IsAdmin}}
+
+ {{end}}
{{end}}
diff --git a/web/templates/admin/certification.html b/web/templates/admin/certification.html
index 186e2a3..b3748c7 100644
--- a/web/templates/admin/certification.html
+++ b/web/templates/admin/certification.html
@@ -75,11 +75,13 @@
{{or $User.Username "[deleted]"}}
+ {{if .Filename}}
+ {{end}}
{{end}}
+{{define "scripts"}}
+
+{{end}}