|
|
@@ -20,13 +20,17 @@ |
|
|
|
{{if .ShowMilestonesDashboardPage}}<a class="item {{if .PageIsMilestonesDashboard}}active{{end}}" href="{{AppSubUrl}}/milestones">{{.i18n.Tr "milestones"}}</a>{{end}} |
|
|
|
{{end}} |
|
|
|
<a class="item {{if .PageIsExplore}}active{{end}}" href="{{AppSubUrl}}/explore/repos">{{.i18n.Tr "explore"}}</a> |
|
|
|
<a class="item {{if .PageIsDataSets}}active{{end}}" href="{{AppSubUrl}}/explore/repos">{{.i18n.Tr "data_sets"}}</a> |
|
|
|
{{else if .IsLandingPageHome}} |
|
|
|
<a class="item {{if .PageIsHome}}active{{end}}" href="{{AppSubUrl}}/">{{.i18n.Tr "home"}}</a> |
|
|
|
<a class="item {{if .PageIsExplore}}active{{end}}" href="{{AppSubUrl}}/explore/repos">{{.i18n.Tr "explore"}}</a> |
|
|
|
<a class="item {{if .PageIsDataSets}}active{{end}}" href="{{AppSubUrl}}/explore/repos">{{.i18n.Tr "data_sets"}}</a> |
|
|
|
{{else if .IsLandingPageExplore}} |
|
|
|
<a class="item {{if .PageIsExplore}}active{{end}}" href="{{AppSubUrl}}/explore/repos">{{.i18n.Tr "home"}}</a> |
|
|
|
<a class="item {{if .PageIsDataSets}}active{{end}}" href="{{AppSubUrl}}/explore/repos">{{.i18n.Tr "data_sets"}}</a> |
|
|
|
{{else if .IsLandingPageOrganizations}} |
|
|
|
<a class="item {{if .PageIsExplore}}active{{end}}" href="{{AppSubUrl}}/explore/organizations">{{.i18n.Tr "home"}}</a> |
|
|
|
<a class="item {{if .PageIsDataSets}}active{{end}}" href="{{AppSubUrl}}/explore/repos">{{.i18n.Tr "data_sets"}}</a> |
|
|
|
{{end}} |
|
|
|
|
|
|
|
{{template "custom/extra_links" .}} |
|
|
|