summaryrefslogtreecommitdiffstats
path: root/templates/base/footer_content.tmpl
diff options
context:
space:
mode:
authorLunny Xiao <xiaolunwen@gmail.com>2022-02-12 01:08:22 +0800
committerGitHub <noreply@github.com>2022-02-12 01:08:22 +0800
commite0688995efdeaf5da2997779e369cc27a5ce6a5e (patch)
tree2e4f2f819822db659f946fe9ce726b8cb8030127 /templates/base/footer_content.tmpl
parentc86ecaebae5d4db60edaf3ffdc0ee8ce40707e67 (diff)
downloadgitea-e0688995efdeaf5da2997779e369cc27a5ce6a5e.tar.gz
gitea-e0688995efdeaf5da2997779e369cc27a5ce6a5e.zip
Display template path of current page in dev mode (#18717)
* Display template path of current page in dev mode * improve code * Update templates/base/footer_content.tmpl Co-authored-by: silverwind <me@silverwind.io> Co-authored-by: wxiaoguang <wxiaoguang@gmail.com> Co-authored-by: silverwind <me@silverwind.io>
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 979c03146c..ef183191a4 100644
--- a/templates/base/footer_content.tmpl
+++ b/templates/base/footer_content.tmpl
@@ -1,7 +1,7 @@
<footer>
<div class="ui container">
<div class="ui left">
- {{.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}}
+ {{.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"}}{{if .TemplateName}} {{.TemplateName}}{{end}}: <strong>{{call .TemplateLoadTimes}}</strong>{{end}}
</div>
<div class="ui right links">
{{if .ShowFooterBranding}}