{%- if links -%}
{%- endif -%}
{{ metric | fmt_metric }}
{%- if links -%}
{%- endif -%}
|
{%- for label in labels -%}
{%- if data[metric][label] | length == 1 -%}
{%- with class = data[metric][label][0] -%}
|
{%- endwith -%}
{%- elif data[metric][label] | length == 2 -%}
{%- with rgba, value = data[metric][label] -%}
{{ value }} |
{%- endwith -%}
{%- elif data[metric][label] | length == 3 -%}
{%- with text_color, rgba, value = data[metric][label] -%}
{{ value }} |
{%- endwith -%}
{%- endif -%}
{%- endfor -%}
{%- endfor -%}