From cf4049b3e2a405df73926d3a806f715de685b5cb Mon Sep 17 00:00:00 2001 From: Radek Czajka Date: Thu, 14 Sep 2023 11:35:13 +0200 Subject: [PATCH] Redirect from form-sent page. --- src/funding/locale/de/LC_MESSAGES/django.po | 3 ++- src/funding/locale/en/LC_MESSAGES/django.po | 3 ++- src/funding/locale/es/LC_MESSAGES/django.po | 3 ++- src/funding/locale/fr/LC_MESSAGES/django.po | 3 ++- src/funding/locale/it/LC_MESSAGES/django.po | 3 ++- src/funding/locale/lt/LC_MESSAGES/django.po | 3 ++- src/funding/locale/ru/LC_MESSAGES/django.po | 3 ++- src/funding/locale/uk/LC_MESSAGES/django.po | 3 ++- src/funding/templates/funding/offer_list.html | 4 +++- src/wolnelektury/templates/forms/form_sent.html | 15 ++++++++++++++- 10 files changed, 33 insertions(+), 10 deletions(-) diff --git a/src/funding/locale/de/LC_MESSAGES/django.po b/src/funding/locale/de/LC_MESSAGES/django.po index 3b79d8b1c..3ad72fcef 100644 --- a/src/funding/locale/de/LC_MESSAGES/django.po +++ b/src/funding/locale/de/LC_MESSAGES/django.po @@ -313,6 +313,7 @@ msgid "" msgstr "" #: funding/templates/funding/offer_detail.html:15 +#: funding/templates/funding/offer_list.html:7 msgid "Zbiórki" msgstr "" @@ -350,7 +351,7 @@ msgstr "" msgid "Wpłaty" msgstr "" -#: funding/templates/funding/offer_list.html:15 +#: funding/templates/funding/offer_list.html:17 msgid "filtry, tytuł" msgstr "" diff --git a/src/funding/locale/en/LC_MESSAGES/django.po b/src/funding/locale/en/LC_MESSAGES/django.po index 2c8969d45..8afd7bd48 100644 --- a/src/funding/locale/en/LC_MESSAGES/django.po +++ b/src/funding/locale/en/LC_MESSAGES/django.po @@ -353,6 +353,7 @@ msgstr "" "or try to use a different payment method." #: funding/templates/funding/offer_detail.html:15 +#: funding/templates/funding/offer_list.html:7 msgid "Zbiórki" msgstr "Fundraisers" @@ -390,7 +391,7 @@ msgstr "" msgid "Wpłaty" msgstr "" -#: funding/templates/funding/offer_list.html:15 +#: funding/templates/funding/offer_list.html:17 msgid "filtry, tytuł" msgstr "filters, title" diff --git a/src/funding/locale/es/LC_MESSAGES/django.po b/src/funding/locale/es/LC_MESSAGES/django.po index 3b79d8b1c..3ad72fcef 100644 --- a/src/funding/locale/es/LC_MESSAGES/django.po +++ b/src/funding/locale/es/LC_MESSAGES/django.po @@ -313,6 +313,7 @@ msgid "" msgstr "" #: funding/templates/funding/offer_detail.html:15 +#: funding/templates/funding/offer_list.html:7 msgid "Zbiórki" msgstr "" @@ -350,7 +351,7 @@ msgstr "" msgid "Wpłaty" msgstr "" -#: funding/templates/funding/offer_list.html:15 +#: funding/templates/funding/offer_list.html:17 msgid "filtry, tytuł" msgstr "" diff --git a/src/funding/locale/fr/LC_MESSAGES/django.po b/src/funding/locale/fr/LC_MESSAGES/django.po index 73839e066..887a744a4 100644 --- a/src/funding/locale/fr/LC_MESSAGES/django.po +++ b/src/funding/locale/fr/LC_MESSAGES/django.po @@ -313,6 +313,7 @@ msgid "" msgstr "" #: funding/templates/funding/offer_detail.html:15 +#: funding/templates/funding/offer_list.html:7 msgid "Zbiórki" msgstr "" @@ -350,7 +351,7 @@ msgstr "" msgid "Wpłaty" msgstr "" -#: funding/templates/funding/offer_list.html:15 +#: funding/templates/funding/offer_list.html:17 msgid "filtry, tytuł" msgstr "" diff --git a/src/funding/locale/it/LC_MESSAGES/django.po b/src/funding/locale/it/LC_MESSAGES/django.po index 3b79d8b1c..3ad72fcef 100644 --- a/src/funding/locale/it/LC_MESSAGES/django.po +++ b/src/funding/locale/it/LC_MESSAGES/django.po @@ -313,6 +313,7 @@ msgid "" msgstr "" #: funding/templates/funding/offer_detail.html:15 +#: funding/templates/funding/offer_list.html:7 msgid "Zbiórki" msgstr "" @@ -350,7 +351,7 @@ msgstr "" msgid "Wpłaty" msgstr "" -#: funding/templates/funding/offer_list.html:15 +#: funding/templates/funding/offer_list.html:17 msgid "filtry, tytuł" msgstr "" diff --git a/src/funding/locale/lt/LC_MESSAGES/django.po b/src/funding/locale/lt/LC_MESSAGES/django.po index 5a7ad5cb6..bbe19d8b7 100644 --- a/src/funding/locale/lt/LC_MESSAGES/django.po +++ b/src/funding/locale/lt/LC_MESSAGES/django.po @@ -315,6 +315,7 @@ msgid "" msgstr "" #: funding/templates/funding/offer_detail.html:15 +#: funding/templates/funding/offer_list.html:7 msgid "Zbiórki" msgstr "" @@ -352,7 +353,7 @@ msgstr "" msgid "Wpłaty" msgstr "" -#: funding/templates/funding/offer_list.html:15 +#: funding/templates/funding/offer_list.html:17 msgid "filtry, tytuł" msgstr "" diff --git a/src/funding/locale/ru/LC_MESSAGES/django.po b/src/funding/locale/ru/LC_MESSAGES/django.po index 1e4bb807f..af3196842 100644 --- a/src/funding/locale/ru/LC_MESSAGES/django.po +++ b/src/funding/locale/ru/LC_MESSAGES/django.po @@ -355,6 +355,7 @@ msgid "" msgstr "" #: funding/templates/funding/offer_detail.html:15 +#: funding/templates/funding/offer_list.html:7 msgid "Zbiórki" msgstr "" @@ -392,7 +393,7 @@ msgstr "" msgid "Wpłaty" msgstr "" -#: funding/templates/funding/offer_list.html:15 +#: funding/templates/funding/offer_list.html:17 msgid "filtry, tytuł" msgstr "" diff --git a/src/funding/locale/uk/LC_MESSAGES/django.po b/src/funding/locale/uk/LC_MESSAGES/django.po index d17e5536b..8402ccf93 100644 --- a/src/funding/locale/uk/LC_MESSAGES/django.po +++ b/src/funding/locale/uk/LC_MESSAGES/django.po @@ -316,6 +316,7 @@ msgid "" msgstr "" #: funding/templates/funding/offer_detail.html:15 +#: funding/templates/funding/offer_list.html:7 msgid "Zbiórki" msgstr "" @@ -353,7 +354,7 @@ msgstr "" msgid "Wpłaty" msgstr "" -#: funding/templates/funding/offer_list.html:15 +#: funding/templates/funding/offer_list.html:17 msgid "filtry, tytuł" msgstr "" diff --git a/src/funding/templates/funding/offer_list.html b/src/funding/templates/funding/offer_list.html index 147e8d64e..af28ec942 100644 --- a/src/funding/templates/funding/offer_list.html +++ b/src/funding/templates/funding/offer_list.html @@ -1,9 +1,11 @@ {% extends 'base.html' %} +{% load i18n %} {% block settings %} {% load title %} - {% title 'Zbiórki' %} + {% trans 'Zbiórki' as title %} + {% title title %} {% endblock %} diff --git a/src/wolnelektury/templates/forms/form_sent.html b/src/wolnelektury/templates/forms/form_sent.html index f34383da8..2212da6e3 100644 --- a/src/wolnelektury/templates/forms/form_sent.html +++ b/src/wolnelektury/templates/forms/form_sent.html @@ -17,5 +17,18 @@ {% block body %}

{{ form.title }}

-

{{ form.response }}

+

{{ form.response|safe }}

+{% endblock %} + +{% block extrabody %} + {% endblock %} -- 2.20.1