diff --git a/options/locale/locale_en-US.ini b/options/locale/locale_en-US.ini index beb968449..d07e048bf 100644 --- a/options/locale/locale_en-US.ini +++ b/options/locale/locale_en-US.ini @@ -2697,5 +2697,5 @@ 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) -Platform_Tutorial=Platform Tutorial -foot.advice_feedback=advice feedback +Platform_Tutorial = Tutorial +foot.advice_feedback = Feedback diff --git a/templates/base/footer_content.tmpl b/templates/base/footer_content.tmpl index 9a708fc2c..85f8eb576 100755 --- a/templates/base/footer_content.tmpl +++ b/templates/base/footer_content.tmpl @@ -26,12 +26,13 @@ {{end}} - {{.i18n.Tr "custom.Platform_Tutorial"}} - {{if .EnableSwagger}}API{{end}} + + + {{if .EnableSwagger}} {{end}} {{if .IsSigned}} - {{.i18n.Tr "custom.foot.advice_feedback"}} + {{else}} - {{.i18n.Tr "custom.foot.advice_feedback"}} + {{end}} {{template "custom/extra_links_footer" .}} diff --git a/templates/base/footer_content_fluid.tmpl b/templates/base/footer_content_fluid.tmpl index 8d9f2ba40..8c734c1b2 100644 --- a/templates/base/footer_content_fluid.tmpl +++ b/templates/base/footer_content_fluid.tmpl @@ -26,12 +26,12 @@ {{end}} - {{.i18n.Tr "custom.Platform_Tutorial"}} - {{if .EnableSwagger}}API{{end}} + + {{if .EnableSwagger}} {{end}} {{if .IsSigned}} - {{.i18n.Tr "custom.foot.advice_feedback"}} + {{else}} - {{.i18n.Tr "custom.foot.advice_feedback"}} + {{end}} {{template "custom/extra_links_footer" .}} diff --git a/templates/base/head.tmpl b/templates/base/head.tmpl index 8f360a637..93002b1e3 100755 --- a/templates/base/head.tmpl +++ b/templates/base/head.tmpl @@ -174,6 +174,7 @@ {{else if ne DefaultTheme "gitea"}} {{end}} + {{template "custom/header" .}}