Files
notifications-admin/app/templates/views/templates/breaking-change.html
Jonathan Bobel c19083b04e Merge branch 'main' of https://github.com/GSA/notifications-admin into 718-clean-up-components-section
# Conflicts:
#	app/templates/components/components/footer/_footer.scss
#	app/templates/components/components/hint/_hint.scss
#	app/templates/views/service-settings/data-retention.html
#	app/templates/views/service-settings/sms-senders.html
#	app/templates/views/two-factor-webauthn.html
#	app/templates/views/user-profile/security-keys.html
2023-08-31 12:06:55 -04:00

47 lines
1.7 KiB
HTML

{% extends "withnav_template.html" %}
{% from "components/banner.html" import banner_wrapper %}
{% from "components/page-header.html" import page_header %}
{% from "components/page-footer.html" import page_footer %}
{% from "components/list.html" import list_of_placeholders, list_of_code_snippets %}
{% from "components/form.html" import form_wrapper %}
{% from "components/components/back-link/macro.njk" import usaBackLink %}
{% block service_page_title %}
Confirm changes
{% endblock %}
{% block backLink %}
{{ usaBackLink({ "href": url_for(".edit_service_template", service_id=current_service.id, template_id=new_template.id) }) }}
{% endblock %}
{% block maincolumn_content %}
{{ page_header('Confirm changes') }}
<div class="grid-row">
<div class="grid-col-10">
{% if template_change.placeholders_removed %}
<p>
You removed {{ list_of_placeholders(template_change.placeholders_removed) }}
</p>
{% endif %}
<p>
You added {{ list_of_placeholders(template_change.placeholders_added) }}
</p>
<p>
Before you send any messages, make sure your API calls include {{ list_of_code_snippets(template_change.placeholders_added) }}.
</p>
</div>
</div>
{% call form_wrapper() %}
<input type="hidden" name="name" value="{{ new_template.name }}" />
<input type="hidden" name="subject" value="{{ new_template._subject or '' }}" />
<input type="hidden" name="template_content" value="{{ new_template.content }}" />
<input type="hidden" name="template_id" value="{{ new_template.id }}" />
<input type="hidden" name="confirm" value="true" />
{{ page_footer('Save changes to template') }}
{% endcall %}
{% endblock %}