File tree Expand file tree Collapse file tree 1 file changed +1
-7
lines changed Expand file tree Collapse file tree 1 file changed +1
-7
lines changed Original file line number Diff line number Diff line change 1
1
<div class="ui container" id="navbar">
2
2
<div class="item brand" style="justify-content: space-between;">
3
- <a href="{{AppSubUrl}}/">
3
+ <a href="{{AppSubUrl}}/" title="{{if .IsSigned}}{{.i18n.Tr "dashboard"}}{{else}}{{.i18n.Tr "home"}}{{end}}" >
4
4
<img class="ui mini image" width="30" height="30" src="{{AssetUrlPrefix}}/img/logo.svg">
5
5
</a>
6
6
<div class="ui basic icon button mobile-only" id="navbar-expand-toggle">
11
11
{{if and .IsSigned .MustChangePassword}}
12
12
{{/* No links */}}
13
13
{{else if .IsSigned}}
14
- <a class="item {{if .PageIsDashboard}}active{{end}}" href="{{AppSubUrl}}/">{{.i18n.Tr "dashboard"}}</a>
15
14
{{if not .UnitIssuesGlobalDisabled}}
16
15
<a class="item {{if .PageIsIssues}}active{{end}}" href="{{AppSubUrl}}/issues">{{.i18n.Tr "issues"}}</a>
17
16
{{end}}
23
22
{{end}}
24
23
<a class="item {{if .PageIsExplore}}active{{end}}" href="{{AppSubUrl}}/explore/repos">{{.i18n.Tr "explore"}}</a>
25
24
{{else if .IsLandingPageHome}}
26
- <a class="item {{if .PageIsHome}}active{{end}}" href="{{AppSubUrl}}/">{{.i18n.Tr "home"}}</a>
27
25
<a class="item {{if .PageIsExplore}}active{{end}}" href="{{AppSubUrl}}/explore/repos">{{.i18n.Tr "explore"}}</a>
28
- {{else if .IsLandingPageExplore}}
29
- <a class="item {{if .PageIsExplore}}active{{end}}" href="{{AppSubUrl}}/explore/repos">{{.i18n.Tr "home"}}</a>
30
- {{else if .IsLandingPageOrganizations}}
31
- <a class="item {{if .PageIsExplore}}active{{end}}" href="{{AppSubUrl}}/explore/organizations">{{.i18n.Tr "home"}}</a>
32
26
{{end}}
33
27
34
28
{{template "custom/extra_links" .}}
You can’t perform that action at this time.
0 commit comments