Skip to content

Commit 711a339

Browse files
committed
Add seperate link for organizations
1 parent 727e342 commit 711a339

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

templates/base/head_navbar.tmpl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@
2121
{{if .ShowMilestonesDashboardPage}}<a class="item {{if .PageIsMilestonesDashboard}}active{{end}}" href="{{AppSubUrl}}/milestones">{{.i18n.Tr "milestones"}}</a>{{end}}
2222
{{end}}
2323
<a class="item {{if .PageIsExplore}}active{{end}}" href="{{AppSubUrl}}/explore/repos">{{.i18n.Tr "explore"}}</a>
24+
{{else if .IsLandingPageOrganizations}}
25+
<a class="item {{if .PageIsExplore}}active{{end}}" href="{{AppSubUrl}}/explore/organizations">{{.i18n.Tr "explore"}}</a>
2426
{{else}}
2527
<a class="item {{if .PageIsExplore}}active{{end}}" href="{{AppSubUrl}}/explore/repos">{{.i18n.Tr "explore"}}</a>
2628
{{end}}

0 commit comments

Comments
 (0)