|
|
@@ -10,7 +10,7 @@ |
|
|
|
|
|
|
|
{{if .IsSigned}} |
|
|
|
<a class="item {{if .PageIsDashboard}}active{{end}}" href="/dashboard">{{.i18n.Tr "dashboard"}}</a> |
|
|
|
<a class="item" href="https://www.openi.org.cn" target="_blank">{{.i18n.Tr "custom.head.community"}}</a> |
|
|
|
<a class="item" href="{{AppSubUrl}}/OpenI">{{.i18n.Tr "custom.head.openi"}}</a> |
|
|
|
{{if not .UnitIssuesGlobalDisabled}} |
|
|
|
<a class="item {{if .PageIsIssues}}active{{end}}" href="{{AppSubUrl}}/issues">{{.i18n.Tr "issues"}}</a> |
|
|
|
{{end}} |
|
|
@@ -25,13 +25,12 @@ |
|
|
|
<i class="dropdown icon"></i> |
|
|
|
<div class="menu"> |
|
|
|
<a class="item" href="{{AppSubUrl}}/explore/repos">{{.i18n.Tr "custom.head.project"}}</a> |
|
|
|
<a class="item" href="{{AppSubUrl}}/OpenI">{{.i18n.Tr "custom.head.openi"}}</a> |
|
|
|
<a class="item" href="{{AppSubUrl}}/explore/datasets">{{.i18n.Tr "custom.head.dataset"}}</a> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
{{else if .IsLandingPageHome}} |
|
|
|
<a class="item {{if .PageIsHome}}active{{end}}" href="{{AppSubUrl}}/user/login?redirect_to={{.Link}}">{{.i18n.Tr "home"}}</a> |
|
|
|
<a class="item" href="https://www.openi.org.cn" target="_blank">{{.i18n.Tr "custom.head.community"}}</a> |
|
|
|
<a class="item" href="{{AppSubUrl}}/OpenI">{{.i18n.Tr "custom.head.openi"}}</a> |
|
|
|
|
|
|
|
<div class="ui dropdown item"> |
|
|
|
{{.i18n.Tr "explore"}} |
|
|
|