Skip to content

Commit

Permalink
Merge branch 'dev'
Browse files Browse the repository at this point in the history
  • Loading branch information
melizeche committed Nov 16, 2021
2 parents 59cd010 + 11ed745 commit 30532f9
Show file tree
Hide file tree
Showing 7 changed files with 44 additions and 7 deletions.
12 changes: 12 additions & 0 deletions locale/es/LC_MESSAGES/django.po
Original file line number Diff line number Diff line change
Expand Up @@ -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"
4 changes: 2 additions & 2 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -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
Expand Down
Binary file added static/img/giving/giving_horizontal.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added static/img/giving/giving_square.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
10 changes: 5 additions & 5 deletions templates/footer/footer.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,11 @@

<div class="column is-three-fifth">
<div class="columns is-mobile is-centered">
<figure class="image is-96x96">
<!-- <a href="{% url 'login'%}?next={{request.path}}">
{#<h6 class="is-full subtitle is-6 has-text-centered is-marginless">Apoya</h6>#}
<img class="is-rounded" src="">
</a> -->
<figure class="image">
<a href="https://undiaparadar.org.py">
<!-- <h6 class="is-full subtitle is-6 has-text-centered is-marginless">Apoya</h6> -->
<img class="is-rounded" src="{% static "img/giving/giving_horizontal.png" %}">
</a>
</figure>
</div>
<div class="columns is-mobile is-centered">
Expand Down
1 change: 1 addition & 0 deletions templates/help_request/details.html
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,7 @@
</a>
{% endif %}
{% endif %}
{% include 'includes/solved_buttons.html'%}
</section>
{% include 'includes/vote_button.html' %}

Expand Down
24 changes: 24 additions & 0 deletions templates/includes/solved_buttons.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
{% load i18n %}

{% with url=request.build_absolute_uri text=""|add:"Solucioné el pedido de "|add:name users="@Ayudapyorg @UnDiaParaDarPy" %}
<section class="card-content">
<p class="title"> {% trans "Did you helped this request? Please tell us!" %} </p>
<div class="field is-flex">

<p class="control">
<a href="https://wa.me/?text={{text}} {{url}}" target="_blank" class="button is-medium is-success is-outlined">
<span class="icon is-small">
<i class="fab fa-whatsapp"></i>
</span>
<span>{% trans "Contact us via WhatsApp" %}</span>
</a>
<a href="https://twitter.com/share?text={{users}} {{text}}&url={{url}}&hashtags=AyudaPy,UndiaParaDarPy,UndiaParaDar" target="_blank" class="button is-medium is-info is-outlined">
<span class="icon is-small">
<i class="fab fa-twitter"></i>
</span>
<span>{% trans "Contact us via Twitter" %}&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span>
</a>
</p>
</div>
</section >
{% endwith %}

0 comments on commit 30532f9

Please sign in to comment.