Skip to content

Commit 9665622

Browse files
authored
Differentiate better between user settings and admin settings (#26538)
User settings page and admin settings page are too similar. I thinlk this will be better of using `User Settings` and `Admin Settings` as the navbar's title. Before: ![image](https://github.com/go-gitea/gitea/assets/18380374/68db06f3-918b-41bc-b4d3-522b1057eb57) ![image](https://github.com/go-gitea/gitea/assets/18380374/24f53d91-54e1-410c-ad9b-438bb2c8069f) After: ![image](https://github.com/go-gitea/gitea/assets/18380374/6600a872-d630-4ea6-a58f-d9ded7d38067) ![image](https://github.com/go-gitea/gitea/assets/18380374/501cde5d-9868-4cba-829d-ff8bafce695d)
1 parent 7e75e58 commit 9665622

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

options/locale/locale_en-US.ini

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -604,6 +604,7 @@ disabled_public_activity = This user has disabled the public visibility of the a
604604
email_visibility.limited = Your email address is visible to all authenticated users
605605
email_visibility.private = Your email address is only visible to you and administrators
606606
show_on_map = Show this place on a map
607+
settings = User Settings
607608
608609
form.name_reserved = The username "%s" is reserved.
609610
form.name_pattern_not_allowed = The pattern "%s" is not allowed in a username.
@@ -2667,6 +2668,7 @@ monitor = Monitoring
26672668
first_page = First
26682669
last_page = Last
26692670
total = Total: %d
2671+
settings = Admin Settings
26702672

26712673
dashboard.new_version_hint = Gitea %s is now available, you are running %s. Check <a target="_blank" rel="noreferrer" href="https://blog.gitea.io">the blog</a> for more details.
26722674
dashboard.statistic = Summary

templates/admin/navbar.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<div class="flex-container-nav">
22
<div class="ui fluid vertical menu">
3-
<div class="header item">{{.locale.Tr "settings"}}</div>
3+
<div class="header item">{{.locale.Tr "admin.settings"}}</div>
44
<a class="{{if .PageIsAdminDashboard}}active {{end}}item" href="{{AppSubUrl}}/admin">
55
{{.locale.Tr "admin.dashboard"}}
66
</a>

templates/user/settings/navbar.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<div class="flex-container-nav">
22
<div class="ui fluid vertical menu">
3-
<div class="header item">{{.locale.Tr "settings"}}</div>
3+
<div class="header item">{{.locale.Tr "user.settings"}}</div>
44
<a class="{{if .PageIsSettingsProfile}}active {{end}}item" href="{{AppSubUrl}}/user/settings">
55
{{.locale.Tr "settings.profile"}}
66
</a>

0 commit comments

Comments
 (0)