Browse Source

#886增加用户反馈意见入口

pull/1255/head
wangjr 3 years ago
parent
commit
58d3fe5179
4 changed files with 19 additions and 0 deletions
  1. +4
    -0
      options/locale/locale_en-US.ini
  2. +4
    -0
      options/locale/locale_zh-CN.ini
  3. +6
    -0
      templates/base/footer_content.tmpl
  4. +5
    -0
      templates/base/footer_content_fluid.tmpl

+ 4
- 0
options/locale/locale_en-US.ini View File

@@ -2659,4 +2659,8 @@ foot.member_news = Member news
foot.industry_advisory = Industry Advisory
foot.help = help
foot.copyright= Copyright: New Generation Artificial Intelligence Open Source Open Platform (OpenI)
<<<<<<< Updated upstream
Platform_Tutorial=Platform Tutorial
=======
foot.advice_feedback=advice feedback
>>>>>>> Stashed changes

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

@@ -2667,4 +2667,8 @@ foot.member_news=成员动态
foot.industry_advisory=行业资讯
foot.help=帮助
foot.copyright= 版权所有:新一代人工智能开源开放平台(OpenI)
<<<<<<< Updated upstream
Platform_Tutorial=新手指引
=======
foot.advice_feedback = 意见反馈
>>>>>>> Stashed changes

+ 6
- 0
templates/base/footer_content.tmpl View File

@@ -28,6 +28,12 @@
</div>
<a href="https://git.openi.org.cn/zeizei/OpenI_Learning" class="ui item" target="_blank">{{.i18n.Tr "custom.Platform_Tutorial"}}</a>
{{if .EnableSwagger}}<a href="/api/swagger" class="ui item">API</a>{{end}}
{{if .IsSigned}}
<a href="https://git.openi.org.cn/zeizei/OpenI_Learning/issues/new" class="ui item" target="_blank">{{.i18n.Tr "custom.foot.advice_feedback"}}</a>
{{else}}
<a href="{{AppSubUrl}}/user/login" class="ui item">{{.i18n.Tr "custom.foot.advice_feedback"}}</a>
{{end}}

{{template "custom/extra_links_footer" .}}
</div>
</div>


+ 5
- 0
templates/base/footer_content_fluid.tmpl View File

@@ -28,6 +28,11 @@
</div>
<a href="https://git.openi.org.cn/zeizei/OpenI_Learning" class="ui item" target="_blank">{{.i18n.Tr "custom.Platform_Tutorial"}}</a>
{{if .EnableSwagger}}<a href="/api/swagger" class="ui item">API</a>{{end}}
{{if .IsSigned}}
<a href="https://git.openi.org.cn/zeizei/OpenI_Learning/issues/new" class="ui item" target="_blank">{{.i18n.Tr "custom.foot.advice_feedback"}}</a>
{{else}}
<a href="{{AppSubUrl}}/user/login" class="ui item">{{.i18n.Tr "custom.foot.advice_feedback"}}</a>
{{end}}
{{template "custom/extra_links_footer" .}}
</div>
</div>


Loading…
Cancel
Save