{% set navigation_html %} {% if navigation is not empty %} {{ navigation.move_backward_buttons|raw }} {{ navigation.page_selector|raw }} {{ navigation.move_forward_buttons|raw }} {% if navigation.number_total_page != 1 %} {% endif %} {% if navigation.has_show_all %} {% endif %} {% endif %} {% endset %} {{ sql_query_message|raw }} {{ navigation_html }}
{{ get_hidden_inputs(db, table) }}
{% if headers.column_order is not empty %} {% if headers.column_order.order %} {% endif %} {% if headers.column_order.visibility %} {% endif %} {% if not headers.column_order.is_view %} {% endif %} {% endif %} {% if headers.options is not empty %}
{{ get_hidden_inputs({ 'db': db, 'table': table, 'sql_query': sql_query, 'goto': goto, 'display_options_form': 1 }) }} {% if default_sliders_state != 'disabled' %}
{% endif %}
{% if relwork and displaywork %}
{% endif %}
{# I would have preferred to name this "display_transformation". This is the only way I found to be able to keep this setting sticky per SQL query, and at the same time have a default that displays the transformations. #}
{% if headers.options.possible_as_geometry %}
{% endif %}
{% if default_sliders_state != 'disabled' %}
{% endif %}
{% endif %} {% if headers.has_bulk_actions_form %}
{{ get_hidden_inputs(db, table, 1) }} {% endif %}
{{ headers.button|raw }} {{ headers.table_headers_for_columns|raw }} {{ headers.column_at_right_side|raw }} {{ body|raw }}
{% if bulk_links is not empty %}
{% trans 'With selected:' %} {% trans 'With selected:' %} {% if bulk_links.has_export_button %} {% endif %}
{% endif %} {{ navigation_html }} {% if operations is not empty %}
{% trans 'Query results operations' %} {% if operations.has_print_link %} {{ link_or_button( '#', null, get_icon('b_insrow', 'Copy to clipboard'|trans, true), {'id': 'copyToClipBoard', 'class': 'btn'} ) }} {% endif %} {% if not operations.has_procedure %} {% if operations.has_export_link %} {{ link_or_button( url('/table/export'), operations.url_params, get_icon('b_tblexport', 'Export'|trans, true), {'class': 'btn'} ) }} {{ link_or_button( url('/table/chart'), operations.url_params, get_icon('b_chart', 'Display chart'|trans, true), {'class': 'btn'} ) }} {% if operations.has_geometry %} {{ link_or_button( url('/table/gis-visualization'), operations.url_params, get_icon('b_globe', 'Visualize GIS data'|trans, true), {'class': 'btn'} ) }} {% endif %} {% endif %} {{ link_or_button( url('/view/create'), {'db': db, 'table': table, 'sql_query': sql_query, 'printview': true}, get_icon('b_view_add', 'Create view'|trans, true), {'class': 'btn create_view ajax'} ) }} {% endif %}
{% endif %}