Sfoglia il codice sorgente

Improve error page.

pull/24/head
Ben Kurtovic 10 anni fa
parent
commit
ef915adc91
1 ha cambiato i file con 3 aggiunte e 2 eliminazioni
  1. +3
    -2
      templates/error.mako

+ 3
- 2
templates/error.mako Vedi File

@@ -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"/>

Caricamento…
Annulla
Salva