Allow custom notes when service goes live

This adds an option on the organisation settings page to add
'request_to_go_live_notes'. When a service belonging to this
organisation requests to go live, any go live notes for the
organisation will be added to the Zendesk ticket in the 'Agreement
signed' section.
This commit is contained in:
Katie Smith
2019-05-13 14:50:40 +01:00
parent e4b1759b3b
commit da971b2da7
9 changed files with 186 additions and 6 deletions

View File

@@ -0,0 +1,25 @@
{% from "components/form.html" import form_wrapper %}
{% from "components/page-footer.html" import page_footer %}
{% from "components/textbox.html" import textbox %}
{% extends "org_template.html" %}
{% block org_page_title %}
Edit request to go live notes
{% endblock %}
{% block maincolumn_content %}
<h1 class="heading-large">Edit request to go live notes</h1>
<div class="grid-row">
<div class="column-five-sixths">
<p>
Text entered here will be displayed in the Zendesk ticket when a service
belonging to this organisation requests to go live.
</p>
{% call form_wrapper() %}
{{ textbox(form.request_to_go_live_notes, width='1-1', rows=3) }}
{{ page_footer('Save') }}
{% endcall %}
</div>
</div>
{% endblock %}

View File

@@ -79,6 +79,15 @@
)
}}
{% endcall %}
{% call row() %}
{{ text_field('Request to go live notes') }}
{{ optional_text_field(current_org.request_to_go_live_notes, default='None') }}
{{ edit_field(
'Change',
url_for('.edit_organisation_go_live_notes', org_id=current_org.id)
)
}}
{% endcall %}
{% call row() %}
{{ text_field('Default email branding') }}
{{ text_field(email_branding) }}