Fix invoice list (edit, bold title)

This commit is contained in:
Edgar P. Burkhart 2025-01-01 08:40:52 +01:00
parent c8b58a18ac
commit 951f157de9
Signed by: edpibu
GPG key ID: 9833D3C5A25BD227
2 changed files with 8 additions and 4 deletions

View file

@ -401,6 +401,12 @@ ul.invoices {
text-align: right;
align-items: center;
> * {
&.title {
font-weight: 650;
}
}
&.new,
&.more {
border-style: dashed;

View file

@ -4,10 +4,8 @@
<ul class="invoices">
{% for invoice in transaction.invoices %}
<li>
<a href="{{ invoice.file.url }}">{{ "file"|remix }}{{ invoice.name }} [{{ invoice.file|extension }}]</a>
<a class="i"
href="{{ invoice.get_absolute_url }}"
title="{% translate "Edit" %}">{{ "file-edit"|remix }}</a>
<a class="title" href="{{ invoice.file.url }}">{{ "file"|remix }}{{ invoice.name }} [{{ invoice.file|extension }}]</a>
<a href="{{ invoice.get_absolute_url }}">{{ "file-edit"|remix }}{% translate "Edit" %}</a>
</li>
{% endfor %}
<li class="new">