You are here

piwik-reports.html.twig in Piwik Reports 8

Default implementation of the visitors overview report template.

Available variables:

  • $data_url: complete url with params to get selected report.

File

templates/piwik-reports.html.twig
View source
  1. {#
  2. /**
  3. * @file
  4. * Default implementation of the visitors overview report template.
  5. *
  6. * Available variables:
  7. * - $data_url: complete url with params to get selected report.
  8. */
  9. #}
  10. {% for data in data_url %}
  11. {% if data.empty_text is not null %}
  12. {{ data.empty_text}}
  13. {% else %}
  14. <h2>{{ data.title }}</h2>
  15. <div class="widgetIframe"><iframe style="border: 0 none; width: 100%; height: {{ data.iframe_height}}px;" src="{{ data.url }}" scrolling="auto" frameborder="0"></iframe></div>
  16. {% endif %}
  17. {% endfor %}