summaryrefslogtreecommitdiffstats
path: root/hyperkitty/templates/errors
diff options
context:
space:
mode:
authorAurélien Bompard <aurelien@bompard.org>2013-11-14 18:21:20 +0100
committerAurélien Bompard <aurelien@bompard.org>2013-11-20 19:15:40 +0100
commit89406e71d9541396a48370d48e40f5e6c1e4a357 (patch)
tree8d86988020611f052909e4d3de0d8b66e7fb1b87 /hyperkitty/templates/errors
parent9e5a71481101c611e5ebfe08cb7dd3b3dbc6601b (diff)
downloadhyperkitty-89406e71d9541396a48370d48e40f5e6c1e4a357.tar.gz
hyperkitty-89406e71d9541396a48370d48e40f5e6c1e4a357.tar.xz
hyperkitty-89406e71d9541396a48370d48e40f5e6c1e4a357.zip
Move error templates in their own directory
Diffstat (limited to 'hyperkitty/templates/errors')
-rw-r--r--hyperkitty/templates/errors/nosearch.html31
-rw-r--r--hyperkitty/templates/errors/private.html27
2 files changed, 58 insertions, 0 deletions
diff --git a/hyperkitty/templates/errors/nosearch.html b/hyperkitty/templates/errors/nosearch.html
new file mode 100644
index 0000000..e27e153
--- /dev/null
+++ b/hyperkitty/templates/errors/nosearch.html
@@ -0,0 +1,31 @@
+{% extends "base.html" %}
+{% load url from future %}
+{% load gravatar %}
+{% load hk_generic %}
+{% load storm %}
+
+
+{% block title %}
+Error: no search engine available
+{% if mlist %}
+ - {{ mlist.display_name|default:mlist.name|escapeemail }}
+{% endif %}
+ - {{ app_name|title }}
+{% endblock %}
+
+{% block content %}
+
+<div class="row-fluid">
+
+ <div class="span2">
+ </div>
+
+ <div class="span7">
+ <p class="text-error">
+ Sorry, the search engine is not available (it has been disabled for this site).
+ </p>
+ </div>
+
+</div>
+
+{% endblock %}
diff --git a/hyperkitty/templates/errors/private.html b/hyperkitty/templates/errors/private.html
new file mode 100644
index 0000000..07cb5cf
--- /dev/null
+++ b/hyperkitty/templates/errors/private.html
@@ -0,0 +1,27 @@
+{% extends "base.html" %}
+{% load url from future %}
+{% load gravatar %}
+{% load hk_generic %}
+{% load storm %}
+
+
+{% block title %}
+Error: private list - {{ mlist.display_name|default:mlist.name|escapeemail }} - {{ app_name|title }}
+{% endblock %}
+
+{% block content %}
+
+<div class="row-fluid">
+
+ <div class="span2">
+ </div>
+
+ <div class="span7">
+ <p class="text-error">
+ This mailing-list is private, you must be subscribed to view the archives.
+ </p>
+ </div>
+
+</div>
+
+{% endblock %}