diff options
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" .}} |