Ubuntu
{% set randomIdForDropdown = random(999999) %}
{% if properties.show_footer and properties.show_footer_icons %}
{% set activeFooterIcon = '' %}
{% set numIcons = 0 %}
{% set visualizationIcons %}
{% for footerIconGroup in footerIcons %}
{% for footerIcon in footerIconGroup.buttons|filter(footerIcon => footerIcon.icon) %}
{% set numIcons = numIcons + 1 %}
{% set isActiveEcommerceView = clientSideParameters.abandonedCarts is defined and
((footerIcon.id == 'ecommerceOrder' and clientSideParameters.abandonedCarts == 0) or
(footerIcon.id == 'ecommerceAbandonedCart' and clientSideParameters.abandonedCarts == 1)) %}
{% endfor %}
{% endfor %}
{% endset %}
{% if activeFooterIcon and numIcons > 1 %}
{% if activeFooterIcon starts with 'icon-' %}
{% else %}
{% endif %}
{{ visualizationIcons|raw }}
{% endif %}
{% if properties.show_export %}
{% set requestParams = properties.request_parameters_to_modify|json_encode %}
{% set formats = {"CSV":"CSV","TSV":"TSV (Excel)","XML":"XML","JSON":"Json","HTML":"HTML"} %}
{% if properties.show_export_as_rss_feed %}
{% set formats = formats|merge({"RSS": "RSS"}) %}
{% endif %}
{% endif %}
{% if properties.show_export_as_image_icon %}
{% endif %}
{% if isPluginLoaded('Annotations') and not properties.hide_annotations_view %}
{% endif %}
{% if properties.show_search %}
{% endif %}
{% if properties.datatable_actions|default is not empty %}
{% for action in properties.datatable_actions %}
{% if action.icon starts with 'icon-' %}
{% else %}
{% endif %}
{% endfor %}
{% endif %}
{% if properties.show_flatten_table %}
{% if clientSideParameters.flat is defined and clientSideParameters.flat == 1 %}
{% if hasMultipleDimensions|default %}
{% endif %}
{% endif %}
{% endif %}
{% if not isDataTableEmpty and properties.show_totals_row|default(0) %}
{% endif %}
{% if properties.show_exclude_low_population %}
{% endif %}
{% if properties.show_pivot_by_subtable|default is not empty and not isComparing|default(false) %}
{% endif %}
{% if properties.show_periods %}
{{ properties.translations[clientSideParameters.period]|default(clientSideParameters.period) }}
{% for selectablePeriod in properties.selectable_periods %}
{{ properties.translations[selectablePeriod]|default(selectablePeriod) }}
{% endfor %}
{% endif %}
{% endif %}