Преглед на файлове

Improve error page.

pull/24/head
Ben Kurtovic преди 10 години
родител
ревизия
ef915adc91
променени са 1 файла, в които са добавени 3 реда и са изтрити 2 реда
  1. +3
    -2
      templates/error.mako

+ 3
- 2
templates/error.mako Целия файл

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

Зареждане…
Отказ
Запис