From 4c6822b0371dea0955b2e98593e36b97652fef67 Mon Sep 17 00:00:00 2001 From: Chris Hill-Scott Date: Wed, 13 Nov 2019 10:21:22 +0000 Subject: [PATCH] Simplify HTML MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Without the spreadsheet on the page we don’t need the wrapping elements which were used to add extra spacing. --- .../views/templates/breaking-change.html | 27 +++++++++---------- 1 file changed, 13 insertions(+), 14 deletions(-) diff --git a/app/templates/views/templates/breaking-change.html b/app/templates/views/templates/breaking-change.html index 0f95b7d24..86ee4c07e 100644 --- a/app/templates/views/templates/breaking-change.html +++ b/app/templates/views/templates/breaking-change.html @@ -16,20 +16,19 @@ back_link=url_for(".edit_service_template", service_id=current_service.id, template_id=new_template.id) ) }} -
- {% if template_change.placeholders_removed %} -

- You removed {{ list_of_placeholders(template_change.placeholders_removed) }} -

- {% endif %} - {% if template_change.placeholders_added %} -

- You added {{ list_of_placeholders(template_change.placeholders_added) }} -

- {% endif %} -
- -

Developers, you’ll need to update your API calls

+ {% if template_change.placeholders_removed %} +

+ You removed {{ list_of_placeholders(template_change.placeholders_removed) }} +

+ {% endif %} + {% if template_change.placeholders_added %} +

+ You added {{ list_of_placeholders(template_change.placeholders_added) }} +

+ {% endif %} +

+ Developers, you’ll need to update your API calls. +

{% call form_wrapper() %}