{# Macros to generate repeated html code #} {% macro collapse(name, title, content, list = false, expanded = 'true', title_right = '', title_icons = '') %}
{% if list %} {% else %} {{ content }} {% endif %}
{% endmacro %} {% macro collapseFor(name, title, array) %}
{% endmacro %} {% macro collapseMenu(name, title, array) %}
{% endmacro %} {% macro pluginSidebar(name, content) %}
{{ content }}
{% endmacro %} {% macro pluginPanel(name, content) %}
{{ content }}
{% endmacro %} {% macro panel(name, content, footer = '') %}
{% if name %}
{{ name }}
{% endif %}
{{ content }}
{% if footer %} {% endif %}
{% endmacro %} {% macro box_widget(name, content, icon) %}
{{ content }}
{{ name }}
{% endmacro %} {% macro card_widget(name, content, icon, extra) %}
{% if extra %} {{ extra }} {% endif %}
{{ content }}
{{ name }}
{% endmacro %} {% macro reporting_user_details(user) %}
{% if user.status %}
{{ 'Status'|get_lang }}
{{ user.status }}
{% endif %}
{{ 'OfficialCode'|get_lang }}
{{ user.code == '' ? 'NoOfficialCode'|get_lang : user.code }}
{{ 'OnLine'|get_lang }}
{{ user.user_is_online }} {{ user.online }}
{{ 'Tel'|get_lang }}
{{ user.phone == '' ? 'NoTel'|get_lang : user.phone }}
{% if user.timezone %}
{{ 'Timezone'|get_lang }}
{{ user.timezone }}
{% endif %}
{% if user.created %}
{{ user.created }}
{% endif %} {% if user.url_access or user.legal.url_send %}
{{ user.url_access }} {{ user.legal.url_send }}
{% endif %}
{% endmacro %} {% macro reporting_user_box(user) %} {% import _self as display %}

{% if user.complete_name_link %} {{ user.complete_name_link }} {% else %} {{ user.complete_name }} {% endif %}

{{ display.reporting_user_details(user) }}
{% endmacro %}