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}}
@@ -123,6 +125,18 @@ + +
+ +
{{end}} +{{define "scripts"}} + +{{end}}