Fix contrast issues with table icons
This commit is contained in:
parent
65d97f523c
commit
e44e3a51f0
2 changed files with 4 additions and 4 deletions
|
@ -30,9 +30,9 @@ def empty_calendar_cells_end(n):
|
||||||
@register.simple_tag
|
@register.simple_tag
|
||||||
def up_down_icon(val):
|
def up_down_icon(val):
|
||||||
if val > 0:
|
if val > 0:
|
||||||
return remix("arrow-up-s", "green")
|
return remix("arrow-up-s")
|
||||||
elif val < 0:
|
elif val < 0:
|
||||||
return remix("arrow-down-s", "red")
|
return remix("arrow-down-s")
|
||||||
|
|
||||||
|
|
||||||
@register.simple_tag
|
@register.simple_tag
|
||||||
|
|
|
@ -33,9 +33,9 @@
|
||||||
{% for snap in statements %}
|
{% for snap in statements %}
|
||||||
<tr>
|
<tr>
|
||||||
{% if snap.sum == snap.diff %}
|
{% if snap.sum == snap.diff %}
|
||||||
<td class="c green">{{ "check"|remix }}</td>
|
<td class="c">{{ "check"|remix }}</td>
|
||||||
{% else %}
|
{% else %}
|
||||||
<td class="c red">{{ "close"|remix }}</td>
|
<td class="c">{{ "close"|remix }}</td>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
<td class="c">
|
<td class="c">
|
||||||
{% if snap.file %}<a href="{{ snap.file.url }}">{{ "attachment"|remix }}</a>{% endif %}
|
{% if snap.file %}<a href="{{ snap.file.url }}">{{ "attachment"|remix }}</a>{% endif %}
|
||||||
|
|
Loading…
Reference in a new issue