{% extends "admin/change_list.html" %}

{% load static %}
{% load i18n %}

{% block content_title %}
    <h1 style="float:left">{{ report_title }}</h1>

    {% if has_data and has_pdf_export %}
    <div class="report-button-container">
        <a href="?{{ request.GET.urlencode }}&export-data=pdf" class="button" target="_blank">
            {% trans 'button.export-to-pdf' %}
        </a>
    </div>
    {% endif %}

    <div style="clear: both;"></div>
{% endblock %}

{% block pagination %}{% endblock %}

{% block extrahead %}
    {{ block.super }}
    <link rel="stylesheet" href="{% static 'admin/css/report.css' %}">
{% endblock %}
