diff options
| author | czaks <marcin@6irc.net> | 2013-08-05 06:03:40 -0400 |
|---|---|---|
| committer | czaks <marcin@6irc.net> | 2013-08-05 06:03:40 -0400 |
| commit | a84c4510fccfdc0cfb6f187633daea10dc70f326 (patch) | |
| tree | 6077f5211196ae40cac0184bb7cc67b81d320b0b /templates/error.html | |
| parent | 33c7abf11f3a9b5c0964a2d7a25533c2849dbc78 (diff) | |
| parent | a8327c3a37fd22d2aa5d63061c9d3eaa30ae425a (diff) | |
Merge branch 'master' of github.com:vichan-devel/Tinyboard
Conflicts:
js/post-hider.js
Diffstat (limited to 'templates/error.html')
| -rw-r--r-- | templates/error.html | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/templates/error.html b/templates/error.html new file mode 100644 index 00000000..3b8eb693 --- /dev/null +++ b/templates/error.html @@ -0,0 +1,18 @@ +<div style="text-align:center"> + <h2 style="margin:20px 0">{{ message }}</h2> + {% if board %} + <p> + <a href="{{ config.root }}{% if mod %}{{ config.file_mod }}?/{% endif %}{{ board.dir }}{{ config.file_index }}"> + {% trans 'Go back' %} + </a> + </p> + {% endif %} +</div> +{% if debug and config.debug %} + <hr> + <h3>{% trans 'Error information' %}</h3> + <pre style="white-space:pre-wrap;font-size: 10px;"> + {{ debug }} + </pre> + <hr> +{% endif %}
\ No newline at end of file |
