diff options
Diffstat (limited to 'templates/repo/header.tmpl')
-rw-r--r-- | templates/repo/header.tmpl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/repo/header.tmpl b/templates/repo/header.tmpl index 8a6833f499..9b3b2ce794 100644 --- a/templates/repo/header.tmpl +++ b/templates/repo/header.tmpl @@ -237,7 +237,7 @@ {{if .Permission.IsAdmin}} <div class="right menu"> - <a class="{{if .PageIsSettings}}active {{end}}item" href="{{.RepoLink}}/settings"> + <a class="{{if .PageIsRepoSettings}}active {{end}}item" href="{{.RepoLink}}/settings"> {{svg "octicon-tools"}} {{.locale.Tr "repo.settings"}} </a> </div> @@ -246,7 +246,7 @@ {{else if .Permission.IsAdmin}} <div class="ui tabular stackable menu navbar"> <div class="right menu"> - <a class="{{if .PageIsSettings}}active {{end}}item" href="{{.RepoLink}}/settings"> + <a class="{{if .PageIsRepoSettings}}active {{end}}item" href="{{.RepoLink}}/settings"> {{svg "octicon-tools"}} {{.locale.Tr "repo.settings"}} </a> </div> |