aboutsummaryrefslogtreecommitdiff
path: root/templates/payment/table.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/payment/table.html')
-rw-r--r--templates/payment/table.html10
1 files changed, 6 insertions, 4 deletions
diff --git a/templates/payment/table.html b/templates/payment/table.html
index fc69b2d..450d84b 100644
--- a/templates/payment/table.html
+++ b/templates/payment/table.html
@@ -81,10 +81,12 @@
{{ payment.cost | euros() }}
</span>
<span class="g-Table__Cell">{{ payment.user }}</span>
- <span class="g-Table__Cell g-Media__Large">
- <span style="color: {{ payment.category_color }}">
- {{ payment.category_name }}
- </span>
+ <span
+ class="g-Table__Cell g-Media__Large"
+ is="colored-category"
+ data-color="{{ payment.category_color }}"
+ >
+ {{ payment.category_name }}
</span>
{% if query.frequency != "Monthly" %}
<span class="g-Table__Cell">