{% if properties.show_visualization_only %} {% include visualizationTemplate %} {%- else -%} {% set isDataTableEmpty = (dataTable is not defined or dataTable is null or dataTableHasNoData|default(false)) %} {% set showCardAsContentBlock = (properties.show_as_content_block and properties.show_title and not isWidget) %} {% set showOnlyTitleWithoutCard = not showCardAsContentBlock and properties.title and properties.show_title %} {# using the show_footer to control the header actions as well since this is going to be refactored with the goal of moving the table actions to the top of the report for all reports, at which point the config for the report can be renamed to show_header and show_header_icons #} {% set showTableActionsInHeader = properties.show_footer and properties.show_footer_icons %} {% if showCardAsContentBlock %}