1
0
mirror of https://github.com/writeas/writefreely synced 2025-02-07 23:08:44 +01:00

Remove Admin link from header on Account Settings page

This commit is contained in:
Matt Baer 2020-08-19 18:22:11 -04:00
parent 3a915ad8ea
commit 820c5ae557

View File

@ -16,7 +16,7 @@ h3 { font-weight: normal; }
{{if .Silenced}}
{{template "user-silenced"}}
{{end}}
<h1>{{if .IsLogOut}}Before you go...{{else}}Account Settings {{if .IsAdmin}}<a href="/admin">admin settings</a>{{end}}{{end}}</h1>
<h1>{{if .IsLogOut}}Before you go...{{else}}Account Settings{{end}}</h1>
{{if .Flashes}}<ul class="errors">
{{range .Flashes}}<li class="urgent">{{.}}</li>{{end}}
</ul>{{end}}