|
@@ -11,18 +11,18 @@ |
|
|
{{if .IsSigned}} |
|
|
{{if .IsSigned}} |
|
|
<a class="item {{if .PageIsDashboard}}active{{end}}" href="/">{{.i18n.Tr "dashboard"}}</a> |
|
|
<a class="item {{if .PageIsDashboard}}active{{end}}" href="/">{{.i18n.Tr "dashboard"}}</a> |
|
|
<div class="ui dropdown item"> |
|
|
<div class="ui dropdown item"> |
|
|
社区 |
|
|
|
|
|
|
|
|
{{.i18n.Tr "custom.head.community"}} |
|
|
<i class="dropdown icon"></i> |
|
|
<i class="dropdown icon"></i> |
|
|
<div class="menu"> |
|
|
<div class="menu"> |
|
|
<a class="item" href="https://www.openi.org.cn/html/Club/2019/0228/17.html">欢迎加入OpenI</a> |
|
|
|
|
|
<a class="item" href="https://www.openi.org.cn/html/Club/2019/0227/14.html">组织结构</a> |
|
|
|
|
|
<a class="item" href="https://www.openi.org.cn/html/Club/2019/0227/15.html">启智开源许可证</a> |
|
|
|
|
|
<a class="item" href="https://www.openi.org.cn/html/Club/2019/0227/16.html">OpenI社区章程</a> |
|
|
|
|
|
<a class="item" href="https://www.openi.org.cn/html/news/dongtai/">社区动态</a> |
|
|
|
|
|
|
|
|
<a class="item" href="https://www.openi.org.cn/html/Club/2019/0228/17.html">{{.i18n.Tr "custom.head.welcome"}}</a> |
|
|
|
|
|
<a class="item" href="https://www.openi.org.cn/html/Club/2019/0227/14.html">{{.i18n.Tr "custom.head.about_org"}}</a> |
|
|
|
|
|
<a class="item" href="https://www.openi.org.cn/html/Club/2019/0227/15.html">{{.i18n.Tr "custom.head.license"}}</a> |
|
|
|
|
|
<a class="item" href="https://www.openi.org.cn/html/Club/2019/0227/16.html">{{.i18n.Tr "custom.head.community_charter"}}</a> |
|
|
|
|
|
<a class="item" href="https://www.openi.org.cn/html/news/dongtai/">{{.i18n.Tr "custom.head.community_infos"}}</a> |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
<a class="item" href="{{AppSubUrl}}/datasets">{{.i18n.Tr "datasets"}}</a> |
|
|
<a class="item" href="{{AppSubUrl}}/datasets">{{.i18n.Tr "datasets"}}</a> |
|
|
<a class="item" href="{{AppSubUrl}}/explore/repos">项目</a> |
|
|
|
|
|
|
|
|
<a class="item" href="{{AppSubUrl}}/explore/repos">{{.i18n.Tr "custom.head.project"}}</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> |
|
|
{{end}} |
|
|
{{end}} |
|
@@ -36,31 +36,34 @@ |
|
|
{{.i18n.Tr "explore"}} |
|
|
{{.i18n.Tr "explore"}} |
|
|
<i class="dropdown icon"></i> |
|
|
<i class="dropdown icon"></i> |
|
|
<div class="menu"> |
|
|
<div class="menu"> |
|
|
<a class="item" href="javascript:alert('WIP')">学习</a> |
|
|
|
|
|
<a class="item" href="javascript:alert('WIP')">活动</a> |
|
|
|
|
|
|
|
|
<a class="item" href="{{AppSubUrl}}/explore/repos">{{.i18n.Tr "custom.head.project"}}</a> |
|
|
|
|
|
<a class="item" href="{{AppSubUrl}}/datasets">{{.i18n.Tr "datasets"}}</a> |
|
|
|
|
|
<a class="item" href="javascript:alert('WIP')">{{.i18n.Tr "custom.head.study"}}</a> |
|
|
|
|
|
<a class="item" href="javascript:alert('WIP')">{{.i18n.Tr "custom.head.activity"}}</a> |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
{{else if .IsLandingPageHome}} |
|
|
{{else if .IsLandingPageHome}} |
|
|
<a class="item {{if .PageIsHome}}active{{end}}" href="/">{{.i18n.Tr "home"}}</a> |
|
|
<a class="item {{if .PageIsHome}}active{{end}}" href="/">{{.i18n.Tr "home"}}</a> |
|
|
<div class="ui dropdown item"> |
|
|
<div class="ui dropdown item"> |
|
|
社区 |
|
|
|
|
|
|
|
|
{{.i18n.Tr "custom.head.community"}} |
|
|
<i class="dropdown icon"></i> |
|
|
<i class="dropdown icon"></i> |
|
|
<div class="menu"> |
|
|
<div class="menu"> |
|
|
<a class="item" href="https://www.openi.org.cn/html/Club/2019/0228/17.html">欢迎加入OpenI</a> |
|
|
|
|
|
<a class="item" href="https://www.openi.org.cn/html/Club/2019/0227/14.html">组织结构</a> |
|
|
|
|
|
<a class="item" href="https://www.openi.org.cn/html/Club/2019/0227/15.html">启智开源许可证</a> |
|
|
|
|
|
<a class="item" href="https://www.openi.org.cn/html/Club/2019/0227/16.html">OpenI社区章程</a> |
|
|
|
|
|
<a class="item" href="https://www.openi.org.cn/html/news/dongtai/">社区动态</a> |
|
|
|
|
|
|
|
|
<a class="item" href="https://www.openi.org.cn/html/Club/2019/0228/17.html">{{.i18n.Tr "custom.head.welcome"}}</a> |
|
|
|
|
|
<a class="item" href="https://www.openi.org.cn/html/Club/2019/0227/14.html">{{.i18n.Tr "custom.head.about_org"}}</a> |
|
|
|
|
|
<a class="item" href="https://www.openi.org.cn/html/Club/2019/0227/15.html">{{.i18n.Tr "custom.head.license"}}</a> |
|
|
|
|
|
<a class="item" href="https://www.openi.org.cn/html/Club/2019/0227/16.html">{{.i18n.Tr "custom.head.community_charter"}}</a> |
|
|
|
|
|
<a class="item" href="https://www.openi.org.cn/html/news/dongtai/">{{.i18n.Tr "custom.head.community_infos"}}</a> |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
<a class="item" href="{{AppSubUrl}}/explore/repos">项目</a> |
|
|
|
|
|
|
|
|
<a class="item" href="{{AppSubUrl}}/explore/repos">{{.i18n.Tr "custom.head.project"}}</a> |
|
|
<div class="ui dropdown item"> |
|
|
<div class="ui dropdown item"> |
|
|
{{.i18n.Tr "explore"}} |
|
|
{{.i18n.Tr "explore"}} |
|
|
<i class="dropdown icon"></i> |
|
|
<i class="dropdown icon"></i> |
|
|
<div class="menu"> |
|
|
<div class="menu"> |
|
|
<a class="item {{if .PageIsExplore}}active{{end}}" href="{{AppSubUrl}}/explore/repos">更多开源项目</a> |
|
|
|
|
|
<a class="item" href="https://openi.org.cn/welcome/shixuns" target="_blank">学习</a> |
|
|
|
|
|
<a class="item" href="http://club.openi.org.cn/portal.php?mod=list&catid=4" target="_blank">活动</a> |
|
|
|
|
|
|
|
|
<a class="item {{if .PageIsExplore}}active{{end}}" href="{{AppSubUrl}}/explore/repos">{{.i18n.Tr "custom.head.project"}}</a> |
|
|
|
|
|
<a class="item" href="{{AppSubUrl}}/datasets">{{.i18n.Tr "datasets"}}</a> |
|
|
|
|
|
<a class="item" href="javascript:alert('WIP')" target="_blank">{{.i18n.Tr "custom.head.project"}}</a> |
|
|
|
|
|
<a class="item" href="javascript:alert('WIP')" target="_blank">{{.i18n.Tr "custom.head.activity"}}</a> |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
{{else if .IsLandingPageExplore}} |
|
|
{{else if .IsLandingPageExplore}} |
|
|