{% from "macros/_blocks.html" import card_block %} {% macro icon_card(icon, text, href=None) %} {% if href %} {% call card_block(classes="center-align") %} {{ icon }}
{{ text|truncate(length=8) }}
{% endcall %}
{% else %} {% call card_block(classes="center-align") %} {{ icon }}
{{ text|truncate(length=8) }}
{% endcall %} {% endif %} {% endmacro %} {% macro profile_card(user) %}
{{ user.username }}
{{ user.profile.full_name }}

{{ user.profile.email }}

{% if user.profile.phone %}

{{ user.profile.phone|phone }}

{% endif %}
{% endmacro %} {% macro order_card(order) %}
# {{ order.sequence_number }}

6

Done

{% endmacro %}