Dashboard
{% if current_user.has_permissions('manage_templates') and not current_service.all_templates %}
{% include 'views/dashboard/write-first-messages.html' %}
{% endif %}
{{ ajax_block(partials, updates_url, 'upcoming') }}
{{ current_service.name }} Dashboard
{{ ajax_block(partials, updates_url, 'inbox') }}
Activity snapshot
{% if current_user.has_permissions('manage_service') %}{% endif %}
My activity
| Job ID# |
Template |
Job status |
# of Recipients |
{% if jobs %}
{% for job in jobs[:5] %}
{% if job.created_by.name == current_user.name %}
{% set notification = job.notifications[0] %}
|
{{ job.job_id[:8] if job.job_id else 'Manually entered number' }}
|
{{ job.template_name }} |
Sent on
{{ (job.processing_finished if job.processing_finished else job.processing_started
if job.processing_started else job.created_at)|format_datetime_table }}
|
{{ job.notification_count }} |
{% endif %}
{% endfor %}
{% else %}
| No batched job messages found (messages are kept for {{ service_data_retention_days }} days). |
{% endif %}
Service activity
| Job ID# |
Template |
Job status |
Sender |
# of Recipients |
{% if jobs %}
{% for job in jobs[:5] %}
{% set notification = job.notifications[0] %}
|
{{ job.job_id[:8] if job.job_id else 'Manually entered number' }}
|
{{ job.template_name }} |
Sent on
{{ (job.processing_finished if job.processing_finished else job.processing_started
if job.processing_started else job.created_at)|format_datetime_table }}
|
{{ job.created_by.name }} |
{{ job.notification_count }} |
{% endfor %}
{% else %}
| No batched job messages found (messages are kept for {{ service_data_retention_days }} days). |
{% endif %}
{{ ajax_block(partials, updates_url, 'template-statistics') }}
{% endblock %}