X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/75957f735219259d3b4bc361f80ccd3d7b92a0e9..cf4049b3e2a405df73926d3a806f715de685b5cb:/src/funding/templates/funding/offer_list.html diff --git a/src/funding/templates/funding/offer_list.html b/src/funding/templates/funding/offer_list.html index 3e0474721..af28ec942 100644 --- a/src/funding/templates/funding/offer_list.html +++ b/src/funding/templates/funding/offer_list.html @@ -1,41 +1,31 @@ -{% extends "base/base.html" %} +{% extends 'base.html' %} {% load i18n %} -{% load pagination_tags %} -{% block titleextra %}{% trans "All fundraisers" %}{% endblock %} -{% block bodyid %}funding-offer-list{% endblock %} - -{% block body %} -

{% trans "All fundraisers" %}

+{% block settings %} + {% load title %} + {% trans 'Zbiórki' as title %} + {% title title %} +{% endblock %} - {% autopaginate object_list 10 %} - {% if page_obj.number == 1 %} -

{% trans "Current fundraiser:" %}

- {% endif %} - {% for offer in object_list %} - {% with is_win=offer.is_win is_current=offer.is_current %} - {% if not is_current and forloop.first and page_obj.number == 1 %} -

{% trans "No fundraiser is currently running." %}

-

{% trans "Previous fundraisers:" %}

- {% endif %} +{% block main %} +
+
+
+ + +
+
+
- {{ offer.list_bar }} -
- {% if is_current %} -

{% trans "Help free the book!" %}

- {{ offer.description|safe }} - {% endif %} - {{ offer.status }} - {{ offer.status_more }} -
+
+
+ {% for funding in object_list %} + {% include "funding/includes/funding_box.html" %} + {% endfor %} +
+
- {% if is_current and not forloop.last %} -

{% trans "Previous fundraisers:" %}

- {% endif %} - {% endwith %} - {% endfor %} - {% paginate %} {% endblock %}