Browse Source

Remove Admin link from header on Account Settings page

pull/371/head
Matt Baer 3 years ago
parent
commit
820c5ae557
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      templates/user/settings.tmpl

+ 1
- 1
templates/user/settings.tmpl 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}}


Loading…
Cancel
Save