Fix category plot on statement page
This commit is contained in:
parent
cb08cb3d46
commit
86a354f353
2 changed files with 3 additions and 3 deletions
|
@ -19,7 +19,7 @@
|
|||
{% spaceless %}
|
||||
{% for cat in categories %}
|
||||
<tr>
|
||||
<th scope="row" class="l">
|
||||
<th scope="row" class="l wi">
|
||||
{% if cat.category %}
|
||||
{% if month %}
|
||||
<a href="{% url "category_transaction_month" cat.category month.year month.month %}">{{ cat.category__icon|remix }}{{ cat.category__name }}</a>
|
||||
|
@ -88,7 +88,6 @@
|
|||
<tr>
|
||||
<th scope="row" class="l">{% translate "Expected total" %}</th>
|
||||
<td class="c">{{ total|check:statement.diff }}</td>
|
||||
<td></td>
|
||||
<td class="bar m">
|
||||
{% if statement.diff < 0 %}
|
||||
<div class="tot" style="width:{% widthratio statement.diff max -100 %}%">
|
||||
|
|
|
@ -405,7 +405,8 @@ ul.statements {
|
|||
}
|
||||
}
|
||||
|
||||
a {
|
||||
a,
|
||||
.wi {
|
||||
& > span[class^="ri-"]:first-child::after {
|
||||
content: "\2002";
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue