Fix alignment of icons on invoice list

This commit is contained in:
Edgar P. Burkhart 2022-12-29 18:39:05 +01:00
parent 49834e10e8
commit 077c39adde
Signed by: edpibu
GPG key ID: 9833D3C5A25BD227

View file

@ -29,13 +29,13 @@
</div> </div>
{% for inv in transaction.invoices %} {% for inv in transaction.invoices %}
<div class="invoice"> <div class="invoice">
<a href="{{ inv.file.url }}"><i class="fa-regular fa-file"></i></a> <a href="{{ inv.file.url }}" class="center"><i class="fa-regular fa-file"></i></a>
<a href="{{ inv.get_absolute_url }}">{{ inv.name }}</a> <a href="{{ inv.get_absolute_url }}">{{ inv.name }}</a>
<a href="{{ inv.get_delete_url }}" class="right">{% translate "Delete" %}</a> <a href="{{ inv.get_delete_url }}" class="right">{% translate "Delete" %}</a>
</div> </div>
{% endfor %} {% endfor %}
<div class="invoice new"> <div class="invoice new">
<i class="fa fa-file-circle-plus"></i> <span class="center"><i class="fa fa-file-circle-plus"></i></span>
<a href="{% url "invoice" transaction.pk %}">{% translate "New invoice" %}</a> <a href="{% url "invoice" transaction.pk %}">{% translate "New invoice" %}</a>
</div> </div>
</div> </div>