X-Git-Url: https://git.mdrn.pl/prawokultury.git/blobdiff_plain/a50ddc685551384615e95785eb01d4505412df5e..8e82784fa2fe21d9c3828adbf43178a39c7cdea6:/migdal/templates/migdal/entry/entry_list.html diff --git a/migdal/templates/migdal/entry/entry_list.html b/migdal/templates/migdal/entry/entry_list.html index 0675363..a68bd2a 100755 --- a/migdal/templates/migdal/entry/entry_list.html +++ b/migdal/templates/migdal/entry/entry_list.html @@ -1,6 +1,7 @@ {% extends "base.html" %} {% load url from future %} {% load i18n %} +{% load pagination_tags %} {% load migdal_tags %} @@ -17,24 +18,46 @@ {% block "body" %} -

{% if category %} {% trans "Category" %}: {{ category }} - RSS +

RSS

{% elif entry_type %} {{ entry_type|capfirst }} - RSS -{% else %} - {% trans "Latest news" %} +

RSS

+{% endif %} + +{% if object_list.promobox and request.page == 1 %} +
+ + + + +
{% endif %} - {% if submit %} + {% endif %} + +{% autopaginate object_list 10 %} {% for object in object_list %} {% entry_short object %} {% endfor %} +{% paginate %} {% endblock %} \ No newline at end of file