1
1
mirror of https://github.com/go-gitea/gitea synced 2025-07-22 18:28:37 +00:00

fix #1957 - disable version display

This allows the admin to disable the version information about gogs and
go in use in the footer.
This commit is contained in:
Gibheer
2015-11-18 22:32:31 +01:00
parent efea642d6c
commit 56006da34b
5 changed files with 11 additions and 6 deletions

View File

@@ -1,7 +1,7 @@
</div>
<footer id="footer">
<div class="container clear">
<p class="left" id="footer-rights">© 2015 Gogs · {{.i18n.Tr "version"}}: {{AppVer}} · {{.i18n.Tr "page"}}: <strong>{{LoadTimes .PageStartTime}}</strong> ·
<p class="left" id="footer-rights">© 2015 Gogs · {{ if .ShowFooterVersion }}{{.i18n.Tr "version"}}: {{AppVer}}{{ end }} · {{.i18n.Tr "page"}}: <strong>{{LoadTimes .PageStartTime}}</strong> ·
{{.i18n.Tr "template"}}: <strong>{{call .TmplLoadTimes}}</strong></p>
<div class="right" id="footer-links">
@@ -21,9 +21,9 @@
</div>
</div>
<a target="_blank" href="http://gogs.io">{{.i18n.Tr "website"}}</a>
<span class="version">{{GoVer}}</span>
{{ if .ShowVersionFooter }}<span class="version">{{GoVer}}</span>{{ end }}
</div>
</div>
</footer>
</body>
</html>
</html>