Improve accessibility
Replace trash-can icon with text
This commit is contained in:
parent
0676b52613
commit
8b859651e8
2 changed files with 8 additions and 7 deletions
|
@ -7,7 +7,7 @@ msgid ""
|
|||
msgstr ""
|
||||
"Project-Id-Version: 0.0.1\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2022-12-26 17:59+0100\n"
|
||||
"POT-Creation-Date: 2022-12-26 18:02+0100\n"
|
||||
"PO-Revision-Date: 2022-12-21 17:30+0100\n"
|
||||
"Last-Translator: edpibu <git@edgarpierre.fr>\n"
|
||||
"Language-Team: edpibu <git@edgarpierre.fr>\n"
|
||||
|
@ -104,7 +104,6 @@ msgid "Search"
|
|||
msgstr "Rechercher"
|
||||
|
||||
#: .\main\templates\main\base.html:59
|
||||
#| msgid "Log In"
|
||||
msgid "Log out"
|
||||
msgstr "Se connecter"
|
||||
|
||||
|
@ -121,7 +120,8 @@ msgid "Log In"
|
|||
msgstr "Se connecter"
|
||||
|
||||
#: .\main\templates\main\tag\form_buttons.html:4
|
||||
#: .\main\templates\main\transaction.html:41
|
||||
#: .\main\templates\main\transaction.html:42
|
||||
#: .\main\templates\main\transaction.html:43
|
||||
msgid "Delete"
|
||||
msgstr "Supprimer"
|
||||
|
||||
|
@ -129,10 +129,10 @@ msgstr "Supprimer"
|
|||
msgid "Save"
|
||||
msgstr "Enregistrer"
|
||||
|
||||
#: .\main\templates\main\transaction.html:50
|
||||
#: .\main\templates\main\transaction.html:51
|
||||
msgid "Add invoice"
|
||||
msgstr "Ajouter une facture"
|
||||
|
||||
#: .\main\templates\main\transaction.html:58
|
||||
#: .\main\templates\main\transaction.html:59
|
||||
msgid "Add"
|
||||
msgstr "Ajouter"
|
||||
|
|
|
@ -31,15 +31,16 @@
|
|||
<div class="header">
|
||||
<strong class="attach center"><i class="fa fa-file"></i></strong>
|
||||
<strong class="name">{% translate "Name" %}</strong>
|
||||
<strong class="attach center"><i class="fa fa-trash-can"></i></strong>
|
||||
<strong class="attach right"><i class="fa fa-trash-can"></i></strong>
|
||||
</div>
|
||||
{% for inv in transaction.invoices %}
|
||||
<div class="invoice">
|
||||
<a href="{{ inv.file.url }}"><i class="fa-regular fa-file"></i></a>
|
||||
<a href="{{ inv.file.url }}">{{ inv.name }}</a>
|
||||
<a href="{% url 'del_invoice' transaction.id inv.id %}"
|
||||
class="right"
|
||||
onclick="return confirm('{% translate "Delete" %} <{{ inv.name }}> ?')">
|
||||
<i class="fa-regular fa-trash-can"></i>
|
||||
{% translate "Delete" %}
|
||||
</a>
|
||||
</div>
|
||||
{% endfor %}
|
||||
|
|
Loading…
Reference in a new issue