Show a message telling you that there are no comments

Fix #142
pull/164/head
Bat 6 years ago
parent fb2f4e9bcd
commit b32015fa7d

@ -401,3 +401,6 @@ msgstr ""
msgid "Save settings"
msgstr ""
msgid "No comments yet. Be the first to react!"
msgstr ""

@ -388,3 +388,6 @@ msgstr ""
msgid "Save settings"
msgstr ""
msgid "No comments yet. Be the first to react!"
msgstr ""

@ -397,3 +397,6 @@ msgstr ""
msgid "Save settings"
msgstr ""
msgid "No comments yet. Be the first to react!"
msgstr ""

@ -406,5 +406,8 @@ msgstr ""
msgid "Save settings"
msgstr ""
msgid "No comments yet. Be the first to react!"
msgstr ""
#~ msgid "Logowanie"
#~ msgstr "Zaloguj się"

@ -381,3 +381,6 @@ msgstr ""
msgid "Save settings"
msgstr ""
msgid "No comments yet. Be the first to react!"
msgstr ""

@ -70,11 +70,15 @@
</form>
{% endif %}
<div class="list">
{% for comment in comments %}
{{ macros::comment(comm=comment) }}
{% endfor %}
</div>
{% if comments | length > 0 %}
<div class="list">
{% for comment in comments %}
{{ macros::comment(comm=comment) }}
{% endfor %}
</div>
{% else %}
<p class="center">{{ "No comments yet. Be the first to react!" | _ }}</p>
{% endif %}
</div>
</div>
{% endblock content %}

Loading…
Cancel
Save