{% macro render_bool(val, label="") -%} {% if val -%} {% else %} {%- endif %} {%- endmacro %} {% macro render_summary_details(summary, details, max_inline=100) -%} {% set rdetails = details|autoformat %} {% if details is defined and rdetails|length > max_inline %}
{{ summary }} {{ rdetails }}
{% else %} {{ summary }} {{ rdetails }} {% endif %} {%- endmacro %} {% macro render_list(list_obj, ulclass="no-bullet") -%} {% if list_obj is defined -%} {%- endif %} {%- endmacro %} {% macro render_dict(dict_obj) -%} {% if dict_obj -%} {%- endif %} {%- endmacro %} {% macro render_collapsible_dict(dict_obj) -%} {% if dict_obj -%} {%- endif %} {%- endmacro %}