0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2024-11-24 19:42:50 +01:00

Add translatable Powered by Gitea text in footer (#9600)

This commit is contained in:
Lauris BH 2020-01-04 22:27:19 +02:00 committed by zeripath
parent ee9b9365be
commit 2b8b0f66ed
2 changed files with 2 additions and 1 deletions

View file

@ -10,6 +10,7 @@ link_account = Link Account
register = Register
website = Website
version = Version
powered_by = Powered by %s
page = Page
template = Template
language = Language

View file

@ -1,7 +1,7 @@
<footer>
<div class="ui container">
<div class="ui left">
© Gitea {{if (or .ShowFooterVersion .PageIsAdmin)}}{{.i18n.Tr "version"}}: {{AppVer}}{{end}} {{if ShowFooterTemplateLoadTime}}{{.i18n.Tr "page"}}: <strong>{{LoadTimes .PageStartTime}}</strong> {{.i18n.Tr "template"}}: <strong>{{call .TmplLoadTimes}}</strong>{{end}}
{{.i18n.Tr "powered_by" "Gitea"}} {{if (or .ShowFooterVersion .PageIsAdmin)}}{{.i18n.Tr "version"}}: {{AppVer}}{{end}} {{if ShowFooterTemplateLoadTime}}{{.i18n.Tr "page"}}: <strong>{{LoadTimes .PageStartTime}}</strong> {{.i18n.Tr "template"}}: <strong>{{call .TmplLoadTimes}}</strong>{{end}}
</div>
<div class="ui right links">
{{if .ShowFooterBranding}}