Backport #26218 by @kerwin612
Fixed two incorrect headers for setting the page navigation bar:
* User settings page, should not use the title "`org.settings`"
* Repo settings page, should not use the title "`org.settings`"
Co-authored-by: Kerwin Bryant <kerwin612@qq.com>
(cherry picked from commit 2122743093
)
This commit is contained in:
parent
5afb0294f4
commit
a81c6561e3
|
@ -1,6 +1,6 @@
|
||||||
<div class="four wide column">
|
<div class="four wide column">
|
||||||
<div class="ui fluid vertical menu">
|
<div class="ui fluid vertical menu">
|
||||||
<div class="header item">{{.locale.Tr "org.settings"}}</div>
|
<div class="header item">{{.locale.Tr "repo.settings"}}</div>
|
||||||
<a class="{{if .PageIsSettingsOptions}}active {{end}}item" href="{{.RepoLink}}/settings">
|
<a class="{{if .PageIsSettingsOptions}}active {{end}}item" href="{{.RepoLink}}/settings">
|
||||||
{{.locale.Tr "repo.settings.options"}}
|
{{.locale.Tr "repo.settings.options"}}
|
||||||
</a>
|
</a>
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
<div class="four wide column">
|
<div class="four wide column">
|
||||||
<div class="ui fluid vertical menu">
|
<div class="ui fluid vertical menu">
|
||||||
<div class="header item">{{.locale.Tr "org.settings"}}</div>
|
<div class="header item">{{.locale.Tr "settings"}}</div>
|
||||||
<a class="{{if .PageIsSettingsProfile}}active {{end}}item" href="{{AppSubUrl}}/user/settings">
|
<a class="{{if .PageIsSettingsProfile}}active {{end}}item" href="{{AppSubUrl}}/user/settings">
|
||||||
{{.locale.Tr "settings.profile"}}
|
{{.locale.Tr "settings.profile"}}
|
||||||
</a>
|
</a>
|
||||||
|
|
Loading…
Reference in New Issue