瀏覽代碼

Remove Admin link from header on Account Settings page

pull/371/head
Matt Baer 3 年之前
父節點
當前提交
820c5ae557
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. +1
    -1
      templates/user/settings.tmpl

+ 1
- 1
templates/user/settings.tmpl 查看文件

@@ -16,7 +16,7 @@ h3 { font-weight: normal; }
{{if .Silenced}} {{if .Silenced}}
{{template "user-silenced"}} {{template "user-silenced"}}
{{end}} {{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"> {{if .Flashes}}<ul class="errors">
{{range .Flashes}}<li class="urgent">{{.}}</li>{{end}} {{range .Flashes}}<li class="urgent">{{.}}</li>{{end}}
</ul>{{end}} </ul>{{end}}


Loading…
取消
儲存