summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPierre-Yves Chibon <pingou@pingoured.fr>2012-03-23 18:49:02 +0100
committerPierre-Yves Chibon <pingou@pingoured.fr>2012-03-23 18:49:02 +0100
commitbd28050fbc03fef1f5c77e1d008602371b0f2dc7 (patch)
treea0d171f8550cbecab5544fb38e536745a3e80688
parent701f5631f04d0420456bd47f864fc238b624ed82 (diff)
downloadhyperkitty-bd28050fbc03fef1f5c77e1d008602371b0f2dc7.tar.gz
hyperkitty-bd28050fbc03fef1f5c77e1d008602371b0f2dc7.tar.xz
hyperkitty-bd28050fbc03fef1f5c77e1d008602371b0f2dc7.zip
Give some output if there is nothing to display
-rw-r--r--templates/month_view2.html2
-rw-r--r--templates/thread.html2
2 files changed, 4 insertions, 0 deletions
diff --git a/templates/month_view2.html b/templates/month_view2.html
index fe0153e..cc3c678 100644
--- a/templates/month_view2.html
+++ b/templates/month_view2.html
@@ -77,6 +77,8 @@
</div>
</div>
<!-- End of thread -->
+ {% empty %}
+ Sorry no emails could be found for your search.
{% endfor %}
</div>
<div id="archives">
diff --git a/templates/thread.html b/templates/thread.html
index b413c5a..423ea4c 100644
--- a/templates/thread.html
+++ b/templates/thread.html
@@ -124,6 +124,8 @@
</ul>
</div>
<!-- End of email -->
+ {% empty %}
+ Sorry no emails could be found for your search.
{% endfor %}
</section>