Added "comments" type to supported custom columns

This commit is contained in:
Ozzie Isaacs
2021-05-13 14:00:01 +02:00
parent 380292a8aa
commit 6bf360fbfb
6 changed files with 42 additions and 30 deletions
+3 -3
View File
@@ -195,14 +195,14 @@
{{ column.value|formatfloat(2) }}
{% elif c.datatype == 'datetime' %}
{{ column.value|formatdate }}
{% else %}
{% if c.datatype == 'series' %}
{% elif c.datatype == 'comments' %}
{{column.value|safe}}
{% elif c.datatype == 'series' %}
{{ '%s [%s]' % (column.value, column.extra|formatfloat(2)) }}
{% else %}
{{ column.value }}
{% endif %}
{% endif %}
{% endif %}
{% endif %}
{% endfor %}
{% endif %}