summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorThibault Meyer <0xbaadf00d@users.noreply.github.com>2016-09-01 07:01:32 +0200
committer无闻 <u@gogs.io>2016-09-01 01:01:32 -0400
commitbc902b8f745efe91e9dce5e4c5f5f2d5d760fbfb (patch)
treecdca4d2dc95875284472af47d705fb85d16176ef /templates
parent8ee14db51ebc92728e1edba4545c7d4ea4b21c65 (diff)
downloadgitea-bc902b8f745efe91e9dce5e4c5f5f2d5d760fbfb.tar.gz
gitea-bc902b8f745efe91e9dce5e4c5f5f2d5d760fbfb.zip
Feature #3492: Add option to hide footer load times (#3562)
* Add option to hide footer load times * Rename option variable + minor changes
Diffstat (limited to 'templates')
-rw-r--r--templates/base/footer.tmpl4
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/base/footer.tmpl b/templates/base/footer.tmpl
index 28995dcbdf..3f0190528d 100644
--- a/templates/base/footer.tmpl
+++ b/templates/base/footer.tmpl
@@ -7,7 +7,7 @@
<footer>
<div class="ui container">
<div class="ui left">
- © 2016 Gogs {{if (or .ShowFooterVersion .PageIsAdmin)}}{{.i18n.Tr "version"}}: {{AppVer}}{{end}} {{.i18n.Tr "page"}}: <strong>{{LoadTimes .PageStartTime}}</strong> {{.i18n.Tr "template"}}: <strong>{{call .TmplLoadTimes}}</strong>
+ © 2016 Gogs {{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}}
@@ -50,5 +50,5 @@
{{end}}
<script src="{{AppSubUrl}}/js/libs/emojify-1.1.0.min.js"></script>
<script src="{{AppSubUrl}}/js/libs/clipboard-1.5.9.min.js"></script>
-
+
</html>