Procházet zdrojové kódy

Improve error page.

pull/24/head
Ben Kurtovic před 10 roky
rodič
revize
ef915adc91
1 změnil soubory, kde provedl 3 přidání a 2 odebrání
  1. +3
    -2
      templates/error.mako

+ 3
- 2
templates/error.mako Zobrazit soubor

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

Načítá se…
Zrušit
Uložit