Skip to content

Commit

Permalink
Making more visible the download button (#358)
Browse files Browse the repository at this point in the history
* Making more visible the download button
  • Loading branch information
axelfernandez-eb authored Jun 10, 2020
1 parent 8615c6d commit c9f55da
Show file tree
Hide file tree
Showing 5 changed files with 22 additions and 13 deletions.
Binary file modified supplier_management_site/locale/es/LC_MESSAGES/django.mo
Binary file not shown.
12 changes: 8 additions & 4 deletions supplier_management_site/locale/es/LC_MESSAGES/django.po
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2020-06-10 17:45+0000\n"
"POT-Creation-Date: 2020-06-10 18:38+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <[email protected]>\n"
Expand Down Expand Up @@ -2660,7 +2660,8 @@ msgstr "Su solicitud de alta de proveedor de Eventbrite está en proceso"
#: supplier_app/constants/email_notifications.py:57
msgid ""
"Your supplier registration request for Eventbrite is now being processed."
msgstr "Su solicitud de alta como proveedor de Eventbrite está siendo procesada."
msgstr ""
"Su solicitud de alta como proveedor de Eventbrite está siendo procesada."

#: supplier_app/constants/email_notifications.py:58
msgid ""
Expand Down Expand Up @@ -3133,8 +3134,8 @@ msgid "Administrator"
msgstr "Administrador"

#: templates/invoices_app/invoice_detail.html:231
msgid "Attachment: "
msgstr "Archivo Adjunto: "
msgid "Download: "
msgstr "Descargar"

#: templates/invoices_app/invoice_filters.html:107
#: templates/supplier_app/AP/taxpayer_filter.html:51
Expand Down Expand Up @@ -3754,6 +3755,9 @@ msgstr ""
"\n"
"Motivo de Cambio: \n"

#~ msgid "Attachment: "
#~ msgstr "Archivo Adjunto: "

#~ msgid "Please find the proper \\"
#~ msgstr ""
#~ "Por favor encuentra la Entidad de Eventbrite a factura' correcta en el "
Expand Down
Binary file modified supplier_management_site/locale/pt_BR/LC_MESSAGES/django.mo
Binary file not shown.
11 changes: 8 additions & 3 deletions supplier_management_site/locale/pt_BR/LC_MESSAGES/django.po
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2020-06-10 17:45+0000\n"
"POT-Creation-Date: 2020-06-10 18:38+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <[email protected]>\n"
Expand Down Expand Up @@ -3247,8 +3247,10 @@ msgid "Administrator"
msgstr "Administrador"

#: templates/invoices_app/invoice_detail.html:231
msgid "Attachment: "
msgstr "Anexo: "
#, fuzzy
#| msgid "Download Invoice"
msgid "Download: "
msgstr "Baixe o Invoice"

#: templates/invoices_app/invoice_filters.html:107
#: templates/supplier_app/AP/taxpayer_filter.html:51
Expand Down Expand Up @@ -3920,6 +3922,9 @@ msgid ""
"Change reason:\n"
msgstr "Alterado: \n"

#~ msgid "Attachment: "
#~ msgstr "Anexo: "

#, fuzzy
#~| msgid "Taxpayer info"
#~ msgid "Taxpayer Info"
Expand Down
12 changes: 6 additions & 6 deletions templates/invoices_app/invoice_detail.html
Original file line number Diff line number Diff line change
Expand Up @@ -227,12 +227,12 @@ <h6>{% trans "Make a comment" %}</h6>
{% endif %}
<p class="font-italic mb-0">{{ comment.comment_date_received }}</p>
{% if comment.comment_file %}
<div class="row ml-0 mb-0">
<p class="mr-1 mb-0">{% trans "Attachment: " %}</p>
<a target="_blank" href="http://docs.google.com/gview?url={{ comment.comment_file.url }}">
<i class="fas fa-paperclip"></i>
</a>
</div>
<a target="_blank" href="http://docs.google.com/gview?url={{ comment.comment_file.url }}"
class="btn btn-primary row ml-0 mb-0">
<p style='font-size:12px' class="mr-1 mb-0">{% trans "Download: " %}
<i class="fas fa-download"></i>
</p>
</a>
{% endif %}
<p class="mb-0">{{ comment.message | linebreaksbr }}</p>

Expand Down

0 comments on commit c9f55da

Please sign in to comment.