diff --git a/www/pocwww/pocwww/templates/dashboard.jinja2 b/www/pocwww/pocwww/templates/dashboard.jinja2 index a0c2dcc..81ae564 100644 --- a/www/pocwww/pocwww/templates/dashboard.jinja2 +++ b/www/pocwww/pocwww/templates/dashboard.jinja2 @@ -6,6 +6,7 @@

Latest Tag Values

+ {% if tag_values|length > 0 %}
@@ -21,7 +22,7 @@ - {% if tag_values.length > 0} + {% for t in tag_values %} @@ -41,18 +42,24 @@ --> {% endfor %} - {% endif %} +
{{t._id}}{{t.total | round(3)}}
+ {% else %} +

No tag values yet...

+ {% endif %} +

Latest Card

- {% if latest_card %} + {% if latest_card|length > 0 %}

{{latest_card.timestamp | datetime('long')}}

+ {% else %} +

No card data yet...

{% endif %}