From a43321cbb36b63572297ee32ab97967c387a6da7 Mon Sep 17 00:00:00 2001 From: Chris Hill-Scott Date: Wed, 14 Oct 2020 13:59:20 +0100 Subject: [PATCH 1/5] Swap order of message and areas MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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. --- .../views/broadcast/preview-message.html | 18 ++++++++---------- .../views/broadcast/view-message.html | 6 +++--- 2 files changed, 11 insertions(+), 13 deletions(-) diff --git a/app/templates/views/broadcast/preview-message.html b/app/templates/views/broadcast/preview-message.html index fd8f51f65..a974acc49 100644 --- a/app/templates/views/broadcast/preview-message.html +++ b/app/templates/views/broadcast/preview-message.html @@ -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 %} - + {% call form_wrapper() %} {{ page_footer('Submit for approval') }} diff --git a/app/templates/views/broadcast/view-message.html b/app/templates/views/broadcast/view-message.html index b474da754..a191f0585 100644 --- a/app/templates/views/broadcast/view-message.html +++ b/app/templates/views/broadcast/view-message.html @@ -126,9 +126,11 @@

{% endif %} + {{ broadcast_message.template|string }} + {% for area in broadcast_message.areas %} {% if loop.first %} -