diff --git a/locale/es/LC_MESSAGES/django.po b/locale/es/LC_MESSAGES/django.po index 0b1f2f9c..d6566174 100644 --- a/locale/es/LC_MESSAGES/django.po +++ b/locale/es/LC_MESSAGES/django.po @@ -641,3 +641,15 @@ msgstr "Pedidos por día" #: templates/stats/dashboard.html:66 msgid "Period" msgstr "Periodo" + +#: templates/includes/solved_buttons.html:6 +msgid "Did you helped this request? Please tell us!" +msgstr "¿Ayudaste este pedido ¡Contanos por favor!" + +#: templates/includes/solved_buttons.html:6 +msgid "Contact us via WhatsApp" +msgstr "Avisanos por WhatsApp" + +#: templates/includes/solved_buttons.html:6 +msgid "Contact us via Twitter" +msgstr "Avisanos por Twitter" diff --git a/requirements.txt b/requirements.txt index 4c2e3431..60118f0c 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,5 +1,5 @@ -django~=2.2 -Pillow==8.2.0 +django==2.2.24 +Pillow==8.3.2 psycopg2-binary==2.8.4 django-leaflet==0.26.0 black diff --git a/static/img/giving/giving_horizontal.png b/static/img/giving/giving_horizontal.png new file mode 100644 index 00000000..b7819f28 Binary files /dev/null and b/static/img/giving/giving_horizontal.png differ diff --git a/static/img/giving/giving_square.png b/static/img/giving/giving_square.png new file mode 100644 index 00000000..f13c56fb Binary files /dev/null and b/static/img/giving/giving_square.png differ diff --git a/templates/footer/footer.html b/templates/footer/footer.html index a0a44d34..adc57a2f 100644 --- a/templates/footer/footer.html +++ b/templates/footer/footer.html @@ -14,11 +14,11 @@
-
- +
+ + + +
diff --git a/templates/help_request/details.html b/templates/help_request/details.html index a351f5de..8884edbf 100644 --- a/templates/help_request/details.html +++ b/templates/help_request/details.html @@ -135,6 +135,7 @@ {% endif %} {% endif %} +{% include 'includes/solved_buttons.html'%} {% include 'includes/vote_button.html' %} diff --git a/templates/includes/solved_buttons.html b/templates/includes/solved_buttons.html new file mode 100644 index 00000000..2f853317 --- /dev/null +++ b/templates/includes/solved_buttons.html @@ -0,0 +1,24 @@ +{% load i18n %} + +{% with url=request.build_absolute_uri text=""|add:"Solucioné el pedido de "|add:name users="@Ayudapyorg @UnDiaParaDarPy" %} +
+

{% trans "Did you helped this request? Please tell us!" %}

+ +
+{% endwith %} \ No newline at end of file