From e15c6705855e6a0aae9301b92a03404d6d062084 Mon Sep 17 00:00:00 2001 From: karlchillmaid Date: Tue, 16 Jun 2020 15:29:52 +0100 Subject: [PATCH] Create a separate page for service name changing for local services MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This new page has a special hint text that will help local authorities name their services well. Add new hint text – old hint text left intact for now --- .../views/service-settings/name-local.html | 44 +++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 app/templates/views/service-settings/name-local.html diff --git a/app/templates/views/service-settings/name-local.html b/app/templates/views/service-settings/name-local.html new file mode 100644 index 000000000..49304786b --- /dev/null +++ b/app/templates/views/service-settings/name-local.html @@ -0,0 +1,44 @@ + +{% extends "withnav_template.html" %} +{% from "components/textbox.html" import textbox %} +{% from "components/page-header.html" import page_header %} +{% from "components/page-footer.html" import page_footer %} +{% from "components/form.html" import form_wrapper %} + +{% block service_page_title %} + Change your service name +{% endblock %} + +{% block maincolumn_content %} + + {{ page_header( + 'Change your service name', + back_link=url_for('main.service_settings', service_id=current_service.id) + ) }} + +

Your service name should tell users what the message is about as well as who it’s from. For example:

+ +

You should only use an acronym if your users are already familiar with it.

+ +
+ {% if current_service.prefix_sms %} +

Users will see your service name:

+ + {% else %} +

Users will see your service name as your email sender name.

+ {% endif %} +
+ + {% call form_wrapper() %} + {{ textbox(form.name) }} + {{ page_footer('Save') }} + {% endcall %} + +{% endblock %}