diff --git a/po/de.po b/po/de.po index f3905a73..3f7117a3 100644 --- a/po/de.po +++ b/po/de.po @@ -401,3 +401,6 @@ msgstr "" msgid "Save settings" msgstr "" + +msgid "No comments yet. Be the first to react!" +msgstr "" diff --git a/po/en.po b/po/en.po index 9f8cf5a9..de5917b1 100644 --- a/po/en.po +++ b/po/en.po @@ -388,3 +388,6 @@ msgstr "" msgid "Save settings" msgstr "" + +msgid "No comments yet. Be the first to react!" +msgstr "" diff --git a/po/fr.po b/po/fr.po index 6127ddf8..30abf90d 100644 --- a/po/fr.po +++ b/po/fr.po @@ -397,3 +397,6 @@ msgstr "" msgid "Save settings" msgstr "" + +msgid "No comments yet. Be the first to react!" +msgstr "" diff --git a/po/pl.po b/po/pl.po index 5b9d28c1..c2cb221e 100644 --- a/po/pl.po +++ b/po/pl.po @@ -406,5 +406,8 @@ msgstr "" msgid "Save settings" msgstr "" +msgid "No comments yet. Be the first to react!" +msgstr "" + #~ msgid "Logowanie" #~ msgstr "Zaloguj siÄ™" diff --git a/po/plume.pot b/po/plume.pot index 45d2850e..41689c2f 100644 --- a/po/plume.pot +++ b/po/plume.pot @@ -381,3 +381,6 @@ msgstr "" msgid "Save settings" msgstr "" + +msgid "No comments yet. Be the first to react!" +msgstr "" diff --git a/templates/posts/details.html.tera b/templates/posts/details.html.tera index 0cb3cdea..c20fa49f 100644 --- a/templates/posts/details.html.tera +++ b/templates/posts/details.html.tera @@ -70,11 +70,15 @@ {% endif %} -
- {% for comment in comments %} - {{ macros::comment(comm=comment) }} - {% endfor %} -
+ {% if comments | length > 0 %} +
+ {% for comment in comments %} + {{ macros::comment(comm=comment) }} + {% endfor %} +
+ {% else %} +

{{ "No comments yet. Be the first to react!" | _ }}

+ {% endif %} {% endblock content %}