Files
notifications-admin/app/templates/views/broadcast/previous-broadcasts.html
T

28 lines
758 B
HTML
Raw Normal View History

2020-10-13 11:40:20 +01:00
{% from 'components/ajax-block.html' import ajax_block %}
{% from "components/button/macro.njk" import govukButton %}
2020-10-13 11:40:20 +01:00
{% extends "withnav_template.html" %}
{% block service_page_title %}
2021-04-08 12:56:55 +01:00
{{ page_title }}
2020-10-13 11:40:20 +01:00
{% endblock %}
{% block maincolumn_content %}
2021-04-08 12:56:55 +01:00
<h1 class="heading-medium">{{ page_title }}</h1>
2020-10-13 11:40:20 +01:00
{% include('views/broadcast/partials/dashboard-table.html') %}
{% if current_user.has_permissions('send_messages', restrict_admin_usage=True) %}
<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 %}
2020-10-13 11:40:20 +01:00
{% endblock %}