Browse Source

Merge pull request #330 from ciarand/reword-language-on-error-pages

Reword the language on the error page templates
pull/331/head
无闻 11 years ago
parent
commit
872590d8b5
  1. 2
      templates/status/200.tmpl
  2. 2
      templates/status/500.tmpl

2
templates/status/200.tmpl

@ -1,7 +1,7 @@
{{template "base/head" .}}
{{template "base/navbar" .}}
<div id="body" class="container">
<p>An error is occurred : {{.ErrorMsg}}</p>
<p>An error has occurred: {{.ErrorMsg}}</p>
<p>Application Version: {{AppVer}}</p>
</div>
{{template "base/footer" .}}

2
templates/status/500.tmpl

@ -3,7 +3,7 @@
<div id="body" class="container text-center">
<p style="margin-top: 80px"><img src="/img/500.png" alt="404"/></p>
{{if .ErrorMsg}}<hr/>
<p>An error is occurred : {{.ErrorMsg}}</p>{{end}}
<p>An error has occurred: {{.ErrorMsg}}</p>{{end}}
<hr/>
<p>Application Version: {{AppVer}}</p>
</div>

Loading…
Cancel
Save