mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-05-05 00:20:43 -04:00
Swap order of message and areas
This then matches the order in which the message is drafted, first the content, then the areas. It also matches the order we’re going to have on the new dashboard.
This commit is contained in:
@@ -14,19 +14,17 @@
|
||||
|
||||
{{ page_header("Preview", back_link=url_for('.preview_broadcast_areas', service_id=current_service.id, broadcast_message_id=broadcast_message.id)) }}
|
||||
|
||||
{% for area in broadcast_message.areas %}
|
||||
{% if loop.first %}
|
||||
<ul class="area-list">
|
||||
{% endif %}
|
||||
{{ broadcast_message.template|string }}
|
||||
|
||||
<div class="govuk-!-margin-bottom-3">
|
||||
<ul class="area-list">
|
||||
{% for area in broadcast_message.areas %}
|
||||
<li class="area-list-item area-list-item--unremoveable">
|
||||
{{ area.name }}
|
||||
</li>
|
||||
{% if loop.last %}
|
||||
</ul>
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
|
||||
{{ broadcast_message.template|string }}
|
||||
{% endfor %}
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
{% call form_wrapper() %}
|
||||
{{ page_footer('Submit for approval') }}
|
||||
|
||||
@@ -126,9 +126,11 @@
|
||||
</p>
|
||||
{% endif %}
|
||||
|
||||
{{ broadcast_message.template|string }}
|
||||
|
||||
{% for area in broadcast_message.areas %}
|
||||
{% if loop.first %}
|
||||
<ul class="area-list govuk-!-margin-bottom-4">
|
||||
<ul class="area-list">
|
||||
{% endif %}
|
||||
<li class="area-list-item area-list-item--unremoveable">
|
||||
{{ area.name }}
|
||||
@@ -145,6 +147,4 @@
|
||||
}) }}
|
||||
</div>
|
||||
|
||||
{{ broadcast_message.template|string }}
|
||||
|
||||
{% endblock %}
|
||||
|
||||
Reference in New Issue
Block a user