Display message on no quotes.

master
q3k 2012-10-18 22:24:06 +02:00
parent 71484e3c37
commit ac9abc9867
1 changed files with 5 additions and 0 deletions

View File

@ -2,6 +2,11 @@
{% block title %}{{ title }}{% endblock %}
{% block content %}
<h3 style="margin-bottom: 10px;">{{ title }}:</h3>
{% if quotes|length == 0 %}
<p>
<i>No quotes~!</i>
</p>
{% endif %}
{% for quote in quotes %}
<div class="quote">
<div class ="quoteheader quoteheader-{{ quote.id }}">