This commit is contained in:
Noah Petherbridge 2024-09-11 19:35:45 -07:00
parent 2f31d678d0
commit 4b43071f28

View File

@ -52,7 +52,7 @@
on {{.Demographic.LastUpdated.Format "Jan _2, 2006 @ 15:04:05 MST"}}
<!-- Admin: force refresh -->
{{if .CurrentUser.IsAdmin}}
{{if and .LoggedIn .CurrentUser.IsAdmin}}
<a href="{{.Request.URL.Path}}?refresh=true" class="has-text-danger ml-2">
<i class="fa fa-peace"></i> Refresh now
</a>