Browse Source

fix-86

pull/107/head
lewis 2 weeks ago
parent
commit
e07fc4b13e
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=个人中心
index=首页
dashboard=个人中心
explore=探索
datasets=数据集


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

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

{{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>
{{if not .UnitIssuesGlobalDisabled}}
<a class="item {{if .PageIsIssues}}active{{end}}" href="{{AppSubUrl}}/issues">{{.i18n.Tr "issues"}}</a>
@@ -109,10 +109,6 @@
</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}}">
{{svg "octicon-person" 16}}
{{.i18n.Tr "your_profile"}}<!-- Your profile -->


Loading…
Cancel
Save