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

Reword the language on the error page templates
tokarchuk/v1.17
无闻 10 years ago
commit 872590d8b5
  1. 2
      templates/status/200.tmpl
  2. 2
      templates/status/500.tmpl

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

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

Loading…
Cancel
Save