diff --git a/base/head_navbar.tmpl b/base/head_navbar.tmpl index 1a78feb..16ab520 100644 --- a/base/head_navbar.tmpl +++ b/base/head_navbar.tmpl @@ -22,19 +22,6 @@ {{end}} - - - {{if .IsSigned}} - {{ctx.Locale.Tr "explore"}} - {{else}} - {{ctx.Locale.Tr "explore"}} - {{end}} - - {{template "custom/extra_links" .}} - - {{if not .IsSigned}} - {{ctx.Locale.Tr "help"}} - {{end}} @@ -63,24 +50,10 @@ {{svg "octicon-person"}} {{ctx.Locale.Tr "your_profile"}} - {{if not .DisableStars}} - - {{svg "octicon-star"}} - {{ctx.Locale.Tr "your_starred"}} - - {{end}} - - {{svg "octicon-bell"}} - {{ctx.Locale.Tr "notification.subscriptions"}} - {{svg "octicon-tools"}} {{ctx.Locale.Tr "your_settings"}} - - {{svg "octicon-question"}} - {{ctx.Locale.Tr "help"}} - {{if .IsAdmin}}
@@ -91,24 +64,19 @@ {{end}} - + {{svg "octicon-sign-out"}} {{ctx.Locale.Tr "sign_out"}} {{else}} - {{if .ShowRegistrationButton}} - - {{svg "octicon-person"}} {{ctx.Locale.Tr "register"}} - - {{end}} - - {{svg "octicon-sign-in"}} {{ctx.Locale.Tr "sign_in"}} - + + {{svg "octicon-sign-in"}} {{.i18n.Tr "sign_in"}} + {{end}} -