瀏覽代碼

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

Loading…
取消
儲存