{% macro label(value, classes, attributes) %} {{ value }} {% endmacro %} {% macro trigger_label(value, target, classes, attributes) %} {% import _self as toolbar %} {% set attributes = { 'data-ptgtb-toggle': 'collapse', 'data-ptgtb-target': target, 'data-ptgtb-collapse-default': 'collapse' }|merge(attributes|default({})) %} {{ toolbar.label(value, classes, attributes) }} {% endmacro %} {% macro metric(label, value) %} {{ label }} {{ value }} {% endmacro %} {%- macro identifier(token, name, suffix) -%} _ptgb-{{ name }}-{{ token }}{% if suffix is defined and suffix is not empty %}-{{ suffix }}{% endif %} {%- endmacro -%}