{% extends "admin/base.html" %}
{% load i18n %}
{% block page_title %}{% endblock %}

{% block extra_header %}
{% endblock %}

{% block content %}

<h1>{% trans 'Notification: ' %}{{ notification.subject }}</h1>
<h3>{% trans 'Sent: ' %}{{ notification.creation_date|date }}</h3>
<h3>{% trans 'Total recipients: ' %}{{ notification.all_recipients|length }}</h3>
<h3>{% trans 'Total hits: ' %}{{ total_hits }}</h3>
<p>
<ul>
{% for linked_object in linked_objects.values %}
    <li><strong>{{ linked_object.long_description }}</strong></li>
    <ul>{% for instance in linked_object.instances %}
        <li><a href="{{ instance.get_absolute_url }}" target="_blank">{{ instance.get_title }}</a>: <strong>{{ instance.count }}</strong></li>
        {% endfor %}</ul>
    {% endfor %}
</ul>
{% endblock %}
</p>
