Browse Source

page opt

master
yuyuanshifu 4 years ago
parent
commit
b3d2c1ad06
2 changed files with 4 additions and 2 deletions
  1. +3
    -2
      options/locale/locale_zh-CN.ini
  2. +1
    -0
      templates/base/head_navbar.tmpl

+ 3
- 2
options/locale/locale_zh-CN.ini View File

@@ -2463,8 +2463,9 @@ error.no_unit_allowed_repo=您没有被允许访问此项目的任何单元。
error.unit_not_allowed=您没有权限访问此项目单元

[custom]
head.community=社区
head.project=项目
head.community=启智社区
head.project=所有项目
head.openi=启智项目
head.dataset=数据集
foot.council=理事会
foot.technical_committee=技术委员会


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

@@ -25,6 +25,7 @@
<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>


Loading…
Cancel
Save