mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-07-11 07:23:47 -04:00
28 lines
729 B
HTML
28 lines
729 B
HTML
{% from 'components/ajax-block.html' import ajax_block %}
|
|
{% from "components/button/macro.njk" import govukButton %}
|
|
|
|
{% extends "withnav_template.html" %}
|
|
|
|
{% block service_page_title %}
|
|
Previous alerts
|
|
{% endblock %}
|
|
|
|
{% block maincolumn_content %}
|
|
|
|
<h1 class="heading-medium">Previous alerts</h1>
|
|
|
|
{% include('views/broadcast/partials/dashboard-table.html') %}
|
|
|
|
{% if current_user.has_permissions('send_messages') %}
|
|
<div class="js-stick-at-bottom-when-scrolling">
|
|
{{ govukButton({
|
|
"element": "a",
|
|
"text": "New alert",
|
|
"href": url_for('.new_broadcast', service_id=current_service.id),
|
|
"classes": "govuk-button--secondary"
|
|
}) }}
|
|
</div>
|
|
{% endif %}
|
|
|
|
{% endblock %}
|