2020-07-14 13:39:29 +01:00
|
|
|
{% from 'components/ajax-block.html' import ajax_block %}
|
2020-07-09 15:48:56 +01:00
|
|
|
|
2020-07-08 11:34:16 +01:00
|
|
|
{% extends "withnav_template.html" %}
|
|
|
|
|
|
|
|
|
|
{% block service_page_title %}
|
2020-10-26 11:18:30 +00:00
|
|
|
Current alerts
|
2020-07-08 11:34:16 +01:00
|
|
|
{% endblock %}
|
|
|
|
|
|
|
|
|
|
{% block maincolumn_content %}
|
|
|
|
|
|
2020-08-03 13:37:34 +01:00
|
|
|
{% if current_user.has_permissions('manage_templates') and not current_service.all_templates %}
|
|
|
|
|
<nav class="govuk-!-margin-top-2 govuk-!-margin-bottom-6">
|
|
|
|
|
<a class="govuk-link govuk-link--no-visited-state pill-separate-item govuk-!-padding-top-4 govuk-!-padding-bottom-4 govuk-!-font-weight-bold" href="{{ url_for('.choose_template', service_id=current_service.id) }}">
|
|
|
|
|
Start by creating a template
|
|
|
|
|
</a>
|
|
|
|
|
</nav>
|
|
|
|
|
{% endif %}
|
|
|
|
|
|
2020-10-27 15:16:27 +00:00
|
|
|
<h1 class="heading-medium">Current alerts</h1>
|
2020-07-09 15:48:56 +01:00
|
|
|
|
2020-07-14 13:39:29 +01:00
|
|
|
{{ ajax_block(
|
|
|
|
|
partials,
|
|
|
|
|
url_for('.broadcast_dashboard_updates', service_id=current_service.id),
|
2020-10-26 11:18:30 +00:00
|
|
|
'current_broadcasts'
|
2020-07-14 13:39:29 +01:00
|
|
|
) }}
|
2020-07-09 15:48:56 +01:00
|
|
|
|
2020-07-08 11:34:16 +01:00
|
|
|
{% endblock %}
|