diff --git a/news/templates/news/list.html b/news/templates/news/list.html index 4632a0a..812a6ab 100644 --- a/news/templates/news/list.html +++ b/news/templates/news/list.html @@ -26,11 +26,55 @@ {% endfor %} {% endif %} -
-
- {% trans "Create news" %} +
+
+
+
+
+ +
+
+ +
+
+
+
+
+{% if news %} + {% for new in news %} +
+
+
+ +

{{ new }}

+

{{ new.creator}}, em {{ new.create_date }}

+
+ +
+ +
+ {% endfor %} + {% pagination request paginator page_obj %} +{% else %} +
+
+

{% trans 'No news found' %}

+
+
+{% endif %} + {% endblock %} -- libgit2 0.21.2