Ver código fonte

Improve error page.

pull/24/head
Ben Kurtovic 10 anos atrás
pai
commit
ef915adc91
1 arquivos alterados com 3 adições e 2 exclusões
  1. +3
    -2
      templates/error.mako

+ 3
- 2
templates/error.mako Ver arquivo

@@ -1,6 +1,7 @@
<%include file="/support/header.mako" args="title='Error! - Earwig\'s Copyvio Detector'"/>
<h2>Error!</h2>
<p>An error occured. If it hasn't been reported (<a href="https://github.com/earwig/copyvios/issues">try to check</a>), please <a href="https://github.com/earwig/copyvios/issues/new">file an issue</a> or <a href="mailto:wikipedia.earwig@gmail.com">email me</a>. Include the following information:</p>
<div id="info-box" class="red-box">
<p>An error occured! If it hasn't been reported (<a href="https://github.com/earwig/copyvios/issues">try to check</a>), please <a href="https://github.com/earwig/copyvios/issues/new">file an issue</a> or <a href="mailto:wikipedia.earwig@gmail.com">email me</a>. Include the following information:</p>
<pre>${traceback | h}</pre>
<pre>${traceback | trim,h}</pre>
</div>
<%include file="/support/footer.mako"/>

Carregando…
Cancelar
Salvar