diff options
author | Unknwon <u@gogs.io> | 2015-11-18 17:19:36 -0500 |
---|---|---|
committer | Unknwon <u@gogs.io> | 2015-11-18 17:19:36 -0500 |
commit | 4325b01a589ec9d20b6ef588deec3d14852f0816 (patch) | |
tree | 003b839f21d6d614c619febed2542c189a2a035f /templates/base/footer.tmpl | |
parent | 052519a7d7ad5f52ef57b1339ac41363034bcd39 (diff) | |
download | gitea-4325b01a589ec9d20b6ef588deec3d14852f0816.tar.gz gitea-4325b01a589ec9d20b6ef588deec3d14852f0816.zip |
minor fix for #1992
Diffstat (limited to 'templates/base/footer.tmpl')
-rw-r--r-- | templates/base/footer.tmpl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/base/footer.tmpl b/templates/base/footer.tmpl index f3eb250618..c800a3cb7b 100644 --- a/templates/base/footer.tmpl +++ b/templates/base/footer.tmpl @@ -2,7 +2,7 @@ <footer> <div class="ui container"> <div class="ui left"> - © 2015 Gogs {{ if .ShowFooterVersion }}{{.i18n.Tr "version"}}: {{AppVer}}{{ end }} {{.i18n.Tr "page"}}: <strong>{{LoadTimes .PageStartTime}}</strong> {{.i18n.Tr "template"}}: <strong>{{call .TmplLoadTimes}}</strong> + © 2015 Gogs {{if (or .ShowFooterVersion .PageIsAdmin)}}{{.i18n.Tr "version"}}: {{AppVer}}{{end}} {{.i18n.Tr "page"}}: <strong>{{LoadTimes .PageStartTime}}</strong> {{.i18n.Tr "template"}}: <strong>{{call .TmplLoadTimes}}</strong> </div> <div class="ui right links"> {{if .ShowFooterBranding}} @@ -20,7 +20,7 @@ </div> </div> <a target="_blank" href="http://gogs.io">{{.i18n.Tr "website"}}</a> - {{ if .ShowFooterVersion }}<span class="version">{{GoVer}}</span>{{ end }} + {{if (or .ShowFooterVersion .PageIsAdmin)}}<span class="version">{{GoVer}}</span>{{end}} </div> </div> </footer> |