diff --git a/Gitea-ui-customized/templates/base/head_navbar.tmpl b/Gitea-ui-customized/templates/base/head_navbar.tmpl index 5e75897..1a8e57e 100644 --- a/Gitea-ui-customized/templates/base/head_navbar.tmpl +++ b/Gitea-ui-customized/templates/base/head_navbar.tmpl @@ -4,11 +4,11 @@ {{if .NotificationUnreadCount}}{{$notificationUnreadCount = call .NotificationUnreadCount}}{{end}} {{end}}
- - + + {{if .IsSigned}} - + {{svg "octicon-bell"}} @@ -26,19 +26,19 @@ {{/* No links */}} {{else if .IsSigned}} {{if not .UnitIssuesGlobalDisabled}} - {{.i18n.Tr "issues"}} + {{.locale.Tr "issues"}} {{end}} {{if not .UnitPullsGlobalDisabled}} - {{.i18n.Tr "pull_requests"}} + {{.locale.Tr "pull_requests"}} {{end}} {{if not (and .UnitIssuesGlobalDisabled .UnitPullsGlobalDisabled)}} - {{if .ShowMilestonesDashboardPage}}{{.i18n.Tr "milestones"}}{{end}} + {{if .ShowMilestonesDashboardPage}}{{.locale.Tr "milestones"}}{{end}} {{end}} - {{.i18n.Tr "explore"}} + {{.locale.Tr "explore"}} {{else if .IsLandingPageOrganizations}} - {{.i18n.Tr "explore"}} + {{.locale.Tr "explore"}} {{else}} - {{.i18n.Tr "explore"}} + {{.locale.Tr "explore"}} {{end}} {{template "custom/extra_links" .}} @@ -46,7 +46,7 @@ {{/* TODO
- + {{svg "octicon-search" 16}}
@@ -55,22 +55,22 @@ {{if and .IsSigned .MustChangePassword}}