aboutsummaryrefslogtreecommitdiffstats
path: root/templates/base/footer_content.tmpl
diff options
context:
space:
mode:
Diffstat (limited to 'templates/base/footer_content.tmpl')
-rw-r--r--templates/base/footer_content.tmpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/base/footer_content.tmpl b/templates/base/footer_content.tmpl
index 52e7c7e77e..f5ec6b0bf3 100644
--- a/templates/base/footer_content.tmpl
+++ b/templates/base/footer_content.tmpl
@@ -10,7 +10,7 @@
{{AppVer}}
{{end}}
{{end}}
- {{if ShowFooterTemplateLoadTime}}
+ {{if and .TemplateLoadTimes ShowFooterTemplateLoadTime}}
{{.i18n.Tr "page"}}: <strong>{{LoadTimes .PageStartTime}}</strong>
{{.i18n.Tr "template"}}
{{if .TemplateName}} {{.TemplateName}}{{end}}: <strong>{{call .TemplateLoadTimes}}</strong>