fnp
/
wolnelektury.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
f0c1ca8
)
Redirect from form-sent page.
author
Radek Czajka
<rczajka@rczajka.pl>
Thu, 14 Sep 2023 09:35:13 +0000
(11:35 +0200)
committer
Radek Czajka
<rczajka@rczajka.pl>
Thu, 14 Sep 2023 09:35:13 +0000
(11:35 +0200)
src/funding/locale/de/LC_MESSAGES/django.po
patch
|
blob
|
history
src/funding/locale/en/LC_MESSAGES/django.po
patch
|
blob
|
history
src/funding/locale/es/LC_MESSAGES/django.po
patch
|
blob
|
history
src/funding/locale/fr/LC_MESSAGES/django.po
patch
|
blob
|
history
src/funding/locale/it/LC_MESSAGES/django.po
patch
|
blob
|
history
src/funding/locale/lt/LC_MESSAGES/django.po
patch
|
blob
|
history
src/funding/locale/ru/LC_MESSAGES/django.po
patch
|
blob
|
history
src/funding/locale/uk/LC_MESSAGES/django.po
patch
|
blob
|
history
src/funding/templates/funding/offer_list.html
patch
|
blob
|
history
src/wolnelektury/templates/forms/form_sent.html
patch
|
blob
|
history
diff --git
a/src/funding/locale/de/LC_MESSAGES/django.po
b/src/funding/locale/de/LC_MESSAGES/django.po
index
3b79d8b
..
3ad72fc
100644
(file)
--- 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
msgstr ""
#: funding/templates/funding/offer_detail.html:15
+#: funding/templates/funding/offer_list.html:7
msgid "Zbiórki"
msgstr ""
msgid "Zbiórki"
msgstr ""
@@
-350,7
+351,7
@@
msgstr ""
msgid "Wpłaty"
msgstr ""
msgid "Wpłaty"
msgstr ""
-#: funding/templates/funding/offer_list.html:1
5
+#: funding/templates/funding/offer_list.html:1
7
msgid "filtry, tytuł"
msgstr ""
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
2c8969d
..
8afd7bd
100644
(file)
--- 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
"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"
msgid "Zbiórki"
msgstr "Fundraisers"
@@
-390,7
+391,7
@@
msgstr ""
msgid "Wpłaty"
msgstr ""
msgid "Wpłaty"
msgstr ""
-#: funding/templates/funding/offer_list.html:1
5
+#: funding/templates/funding/offer_list.html:1
7
msgid "filtry, tytuł"
msgstr "filters, title"
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
3b79d8b
..
3ad72fc
100644
(file)
--- 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
msgstr ""
#: funding/templates/funding/offer_detail.html:15
+#: funding/templates/funding/offer_list.html:7
msgid "Zbiórki"
msgstr ""
msgid "Zbiórki"
msgstr ""
@@
-350,7
+351,7
@@
msgstr ""
msgid "Wpłaty"
msgstr ""
msgid "Wpłaty"
msgstr ""
-#: funding/templates/funding/offer_list.html:1
5
+#: funding/templates/funding/offer_list.html:1
7
msgid "filtry, tytuł"
msgstr ""
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
73839e0
..
887a744
100644
(file)
--- 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
msgstr ""
#: funding/templates/funding/offer_detail.html:15
+#: funding/templates/funding/offer_list.html:7
msgid "Zbiórki"
msgstr ""
msgid "Zbiórki"
msgstr ""
@@
-350,7
+351,7
@@
msgstr ""
msgid "Wpłaty"
msgstr ""
msgid "Wpłaty"
msgstr ""
-#: funding/templates/funding/offer_list.html:1
5
+#: funding/templates/funding/offer_list.html:1
7
msgid "filtry, tytuł"
msgstr ""
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
3b79d8b
..
3ad72fc
100644
(file)
--- 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
msgstr ""
#: funding/templates/funding/offer_detail.html:15
+#: funding/templates/funding/offer_list.html:7
msgid "Zbiórki"
msgstr ""
msgid "Zbiórki"
msgstr ""
@@
-350,7
+351,7
@@
msgstr ""
msgid "Wpłaty"
msgstr ""
msgid "Wpłaty"
msgstr ""
-#: funding/templates/funding/offer_list.html:1
5
+#: funding/templates/funding/offer_list.html:1
7
msgid "filtry, tytuł"
msgstr ""
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
5a7ad5c
..
bbe19d8
100644
(file)
--- 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
msgstr ""
#: funding/templates/funding/offer_detail.html:15
+#: funding/templates/funding/offer_list.html:7
msgid "Zbiórki"
msgstr ""
msgid "Zbiórki"
msgstr ""
@@
-352,7
+353,7
@@
msgstr ""
msgid "Wpłaty"
msgstr ""
msgid "Wpłaty"
msgstr ""
-#: funding/templates/funding/offer_list.html:1
5
+#: funding/templates/funding/offer_list.html:1
7
msgid "filtry, tytuł"
msgstr ""
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
1e4bb80
..
af31968
100644
(file)
--- 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
msgstr ""
#: funding/templates/funding/offer_detail.html:15
+#: funding/templates/funding/offer_list.html:7
msgid "Zbiórki"
msgstr ""
msgid "Zbiórki"
msgstr ""
@@
-392,7
+393,7
@@
msgstr ""
msgid "Wpłaty"
msgstr ""
msgid "Wpłaty"
msgstr ""
-#: funding/templates/funding/offer_list.html:1
5
+#: funding/templates/funding/offer_list.html:1
7
msgid "filtry, tytuł"
msgstr ""
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
d17e553
..
8402ccf
100644
(file)
--- 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
msgstr ""
#: funding/templates/funding/offer_detail.html:15
+#: funding/templates/funding/offer_list.html:7
msgid "Zbiórki"
msgstr ""
msgid "Zbiórki"
msgstr ""
@@
-353,7
+354,7
@@
msgstr ""
msgid "Wpłaty"
msgstr ""
msgid "Wpłaty"
msgstr ""
-#: funding/templates/funding/offer_list.html:1
5
+#: funding/templates/funding/offer_list.html:1
7
msgid "filtry, tytuł"
msgstr ""
msgid "filtry, tytuł"
msgstr ""
diff --git
a/src/funding/templates/funding/offer_list.html
b/src/funding/templates/funding/offer_list.html
index
147e8d6
..
af28ec9
100644
(file)
--- a/
src/funding/templates/funding/offer_list.html
+++ b/
src/funding/templates/funding/offer_list.html
@@
-1,9
+1,11
@@
{% extends 'base.html' %}
{% extends 'base.html' %}
+{% load i18n %}
{% block settings %}
{% load title %}
{% block settings %}
{% load title %}
- {% title 'Zbiórki' %}
+ {% trans 'Zbiórki' as title %}
+ {% title title %}
{% endblock %}
{% endblock %}
diff --git
a/src/wolnelektury/templates/forms/form_sent.html
b/src/wolnelektury/templates/forms/form_sent.html
index
f34383d
..
2212da6
100644
(file)
--- a/
src/wolnelektury/templates/forms/form_sent.html
+++ b/
src/wolnelektury/templates/forms/form_sent.html
@@
-17,5
+17,18
@@
{% block body %}
<h1>{{ form.title }}</h1>
{% block body %}
<h1>{{ form.title }}</h1>
- <p>{{ form.response }}</p>
+ <p id="form-response">{{ form.response|safe }}</p>
+{% endblock %}
+
+{% block extrabody %}
+ <script type="text/javascript">
+ (function() {
+ let $a = $("#form-response a");
+ if ($a.length) {
+ setTimeout(() => {
+ window.location.href = $a.attr('href');
+ }, 5000);
+ }
+ })();
+ </script>
{% endblock %}
{% endblock %}