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

Merged
zhoupzh merged 2 commits from fix-886 into V20220110 2 years ago
  1. +1
    -0
      options/locale/locale_en-US.ini
  2. +1
    -0
      options/locale/locale_zh-CN.ini
  3. +6
    -0
      templates/base/footer_content.tmpl
  4. +5
    -0
      templates/base/footer_content_fluid.tmpl

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

@@ -2660,3 +2660,4 @@ foot.industry_advisory = Industry Advisory
foot.help = help
foot.copyright= Copyright: New Generation Artificial Intelligence Open Source Open Platform (OpenI)
Platform_Tutorial=Platform Tutorial
foot.advice_feedback=advice feedback

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

@@ -2668,3 +2668,4 @@ foot.industry_advisory=行业资讯
foot.help=帮助
foot.copyright= 版权所有:新一代人工智能开源开放平台(OpenI)
Platform_Tutorial=新手指引
foot.advice_feedback = 意见反馈

+ 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