diff options
author | Unknwon <u@gogs.io> | 2015-11-24 18:49:34 -0500 |
---|---|---|
committer | Unknwon <u@gogs.io> | 2015-11-24 18:49:34 -0500 |
commit | 7f9598141bd7b0200d9342f01243228eab3061ba (patch) | |
tree | c9e5bf147ba72a7f7eb4968f129e32b444b4682b /templates/status | |
parent | 56c66ee486b4b8d544201662de62a23f36e6a069 (diff) | |
download | gitea-7f9598141bd7b0200d9342f01243228eab3061ba.tar.gz gitea-7f9598141bd7b0200d9342f01243228eab3061ba.zip |
fix #2020
Diffstat (limited to 'templates/status')
-rw-r--r-- | templates/status/404.tmpl | 2 | ||||
-rw-r--r-- | templates/status/500.tmpl | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/templates/status/404.tmpl b/templates/status/404.tmpl index b9874c5f17..a1b632df2a 100644 --- a/templates/status/404.tmpl +++ b/templates/status/404.tmpl @@ -3,7 +3,7 @@ <p style="margin-top: 100px"><img src="{{AppSubUrl}}/img/404.png" alt="404"/></p> <div class="ui divider"></div> <br> - <p>Application Version: {{AppVer}}</p> + {{if .ShowFooterVersion}}<p>Application Version: {{AppVer}}</p>{{end}} <p>If you think this is an error, please open an issue on <a href="https://github.com/gogits/gogs/issues/new">GitHub</a>.</p> </div> {{template "base/footer" .}} diff --git a/templates/status/500.tmpl b/templates/status/500.tmpl index ac2b4be71f..519a6f60f6 100644 --- a/templates/status/500.tmpl +++ b/templates/status/500.tmpl @@ -4,6 +4,6 @@ <div class="ui divider"></div> <br> {{if .ErrorMsg}}<p>An error has occurred : {{.ErrorMsg}}</p>{{end}} - <p>Application Version: {{AppVer}}</p> + {{if .ShowFooterVersion}}<p>Application Version: {{AppVer}}</p>{{end}} </div> {{template "base/footer" .}} |