Files
notifications-admin/app/templates/views/guidance/edit-and-format-messages.html

98 lines
4.4 KiB
HTML
Raw Normal View History

2020-01-21 09:23:18 +00:00
{% extends "content_template.html" %}
{% from "components/service-link.html" import service_link %}
2020-01-21 09:23:18 +00:00
{% block per_page_title %}
2020-01-22 10:59:45 +00:00
Edit and format messages
2020-01-21 09:23:18 +00:00
{% endblock %}
{% block content_column_content %}
<h1 class="heading-large">Edit and format messages</h1>
2023-08-25 11:49:13 -04:00
<p class="usa-body">This page explains how to:</p>
2020-01-21 09:23:18 +00:00
<ul class="list list-bullet">
<li><a class="usa-link" href="#formatting">format your content</a></li>
<li><a class="usa-link" href="#links">add links</a></li>
<li><a class="usa-link" href="#personalized-content">personalize your content</a></li>
<li><a class="usa-link" href="#optional-content">add optional content</a></li>
</ul>
2020-01-21 15:45:59 +00:00
<h2 class="heading-medium" id="formatting">Format your content</h2>
2020-01-21 09:23:18 +00:00
2023-08-25 11:49:13 -04:00
<p class="usa-body">You can see a list of formatting instructions on the edit template page:</p>
2020-01-21 09:23:18 +00:00
<ol class="list list-number">
<li>Go to the {{ service_link(current_service, 'main.choose_template', 'templates') }} page.</li>
2023-08-25 10:40:56 -04:00
<li>Add a new template or choose an existing template and select <b class="bold">Edit</b>.</li>
2020-01-21 09:23:18 +00:00
</ol>
2023-08-25 11:49:13 -04:00
<!-- <p class="usa-body">Email templates can include:</p>
2020-01-21 09:23:18 +00:00
<ul class="list list-bullet">
<li>headings</li>
<li>bullets</li>
<li>inset text</li>
2020-01-21 09:23:18 +00:00
<li>horizontal rules</li>
</ul>
2023-08-25 11:49:13 -04:00
<p class="usa-body">Notify does not allow bold, italics, subheadings, underlined text or different fonts. This is because they can make it harder for users to read what youve written.</p> -->
2020-01-21 09:23:18 +00:00
2020-01-21 15:03:59 +00:00
<h2 class="heading-medium" id="links">Add links</h2>
2023-08-25 11:49:13 -04:00
<p class="usa-body">When composing a text message, write URLs in full and Notify will convert them into links for you.</p>
2020-01-21 09:23:18 +00:00
2023-08-25 11:49:13 -04:00
<p class="usa-body">You cannot convert text into a link. <!-- Research shows that people like to check a URL looks genuine before clicking the link in an email. This is hard to do if the URL is hidden behind clickable link text.--></p>
2020-01-21 09:23:18 +00:00
2023-08-25 11:49:13 -04:00
<p class="usa-body">We do not recommend using a third-party link shortening service because:</p>
2020-01-21 09:23:18 +00:00
<ul class="list list-bullet">
<li>your users cannot see where the link will take them</li>
2020-01-21 15:03:59 +00:00
<li>your link might stop working if theres a service outage</li>
2020-01-21 09:23:18 +00:00
<li>you can no longer control where the redirect goes</li>
</ul>
<h2 class="heading-medium" id="personalized-content">Personalize your content</h2>
2020-01-21 09:23:18 +00:00
2023-08-25 11:49:13 -04:00
<p class="usa-body">To personalize the content of your messages, add a placeholder to the template.</p>
2020-01-21 09:23:18 +00:00
2023-08-25 11:49:13 -04:00
<p class="usa-body">Placeholders are filled in with details, like a name or reference number, each time you send a message.</p>
2020-01-21 09:23:18 +00:00
2023-08-25 11:49:13 -04:00
<p class="usa-body">To add a placeholder to the template:</p>
2020-01-21 09:23:18 +00:00
<ol class="list list-number">
<li>Go to the {{ service_link(current_service, 'main.choose_template', 'templates') }} page.</li>
2023-08-25 10:40:56 -04:00
<li>Add a new template or choose an existing template and select <b class="bold">Edit</b>.</li>
<li>Add a placeholder using double brackets. For example: Hello ((first&nbsp;name)), your reference is ((ref&nbsp;number)).</li>
2023-08-25 10:40:56 -04:00
<li>Select <b class="bold">Save</b>.</li>
2020-01-21 09:23:18 +00:00
</ol>
2023-08-25 11:49:13 -04:00
<p class="usa-body">When you send a message you can either:</p>
2020-01-21 09:23:18 +00:00
<ul class="list list-bullet">
<li>manually fill in the placeholders yourself</li>
<li>upload a list of personal details and let Notify do it for you</li>
</ul>
2023-08-25 11:49:13 -04:00
<p class="usa-body">If you upload a list, the column names need to match the placeholders in your template.</p>
2020-01-21 15:45:59 +00:00
<h2 class="heading-medium" id="optional-content">Add optional content</h2>
2023-08-25 11:49:13 -04:00
<p class="usa-body">To add optional content to your messages:</p>
2020-01-21 09:23:18 +00:00
<ol class="list list-number">
<li>Go to the {{ service_link(current_service, 'main.choose_template', 'templates') }} page.</li>
2023-08-25 10:40:56 -04:00
<li>Add a new template or choose an existing template and select <b class="bold">Edit</b>.</li>
2020-01-21 09:23:18 +00:00
<li>Use double brackets and ?? to define optional content. For example, if you only want to show something to people who are under 18: ((under18??Please get your application signed by a parent or guardian.))</li>
2023-08-25 10:40:56 -04:00
<li>Select <b class="bold">Save</b>.</li>
2020-01-21 09:23:18 +00:00
</ol>
2023-08-25 11:49:13 -04:00
<p class="usa-body">For each person you send this message to, specify yes or no to show or hide this content. You can either:</p>
2020-01-21 09:23:18 +00:00
<ul class="list list-bullet">
<li>do this yourself</li>
<li>upload a list of personal details and let Notify do it for you</li>
</ul>
2023-08-25 11:49:13 -04:00
<p class="usa-body">If you upload a list, the column names need to match the optional content in your template.</p>
2020-01-21 09:23:18 +00:00
2020-01-21 09:25:42 +00:00
{% endblock %}