Browse Source

fix-86

tags/v1.21.7
lewis 4 years ago
parent
commit
5a95f697f3
2 changed files with 2 additions and 5 deletions
  1. +1
    -0
      options/locale/locale_zh-CN.ini
  2. +1
    -5
      templates/base/head_navbar.tmpl

+ 1
- 0
options/locale/locale_zh-CN.ini View File

@@ -1,4 +1,5 @@
home=个人中心 home=个人中心
index=首页
dashboard=个人中心 dashboard=个人中心
explore=探索 explore=探索
datasets=数据集 datasets=数据集


+ 1
- 5
templates/base/head_navbar.tmpl View File

@@ -9,7 +9,7 @@
</div> </div>


{{if .IsSigned}} {{if .IsSigned}}
<a class="item {{if .PageIsDashboard}}active{{end}}" href="/dashboard">{{.i18n.Tr "dashboard"}}</a>
<a class="item {{if .PageIsDashboard}}active{{end}}" href="/dashboard">{{.i18n.Tr "index"}}</a>
<a class="item" href="{{AppSubUrl}}/OpenI">{{.i18n.Tr "custom.head.openi"}}</a> <a class="item" href="{{AppSubUrl}}/OpenI">{{.i18n.Tr "custom.head.openi"}}</a>
{{if not .UnitIssuesGlobalDisabled}} {{if not .UnitIssuesGlobalDisabled}}
<a class="item {{if .PageIsIssues}}active{{end}}" href="{{AppSubUrl}}/issues">{{.i18n.Tr "issues"}}</a> <a class="item {{if .PageIsIssues}}active{{end}}" href="{{AppSubUrl}}/issues">{{.i18n.Tr "issues"}}</a>
@@ -109,10 +109,6 @@
</div> </div>


<div class="divider"></div> <div class="divider"></div>
<a class="item" href="{{AppSubUrl}}/dashboard">
{{svg "octicon-info" 16}}
{{.i18n.Tr "your_dashboard"}}<!-- Your dashboard -->
</a>
<a class="item" href="{{AppSubUrl}}/{{.SignedUser.Name}}"> <a class="item" href="{{AppSubUrl}}/{{.SignedUser.Name}}">
{{svg "octicon-person" 16}} {{svg "octicon-person" 16}}
{{.i18n.Tr "your_profile"}}<!-- Your profile --> {{.i18n.Tr "your_profile"}}<!-- Your profile -->


Loading…
Cancel
Save