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; text-align: right;
align-items: center; align-items: center;
> * {
&.title {
font-weight: 650;
}
}
&.new, &.new,
&.more { &.more {
border-style: dashed; border-style: dashed;

View file

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