{% extends 'creme_core/detailview.html' %} {% load i18n creme_widgets reports_tags %} {% block page_title %}{% blocktranslate %}Preview {{object}}{% endblocktranslate %} - {% endblock %} {% block head %} {{block.super}} {% endblock %} {% block global_buttons %}
  • {% translate 'Back to the report' as back_label %} {% widget_icon name='previous' size='global-button' label=back_label %} {{back_label}}
  • {% endblock %} {% block title %}{% blocktranslate with title=object|capfirst %}Preview of the report «{{title}}»{% endblocktranslate %}{% endblock %} {% block main_content %}
    {% include 'reports/frags/report_preview_format.html' %}
    {% include 'reports/bricks/preview.html' %}
    {% endblock %} {% comment %} {% block content %}
    {% widget_icon instance=object size='brick-hat-bar' %}

    {% blocktranslate with title=object|capfirst %}Preview of the report «{{title}}»{% endblocktranslate %}

    {% include 'reports/frags/report_preview_format.html' %}
    {% include 'reports/bricks/preview.html' %}
    {% endblock %} {% endcomment %}