Fix issues raised on pull request

Includes:
- make 'remove team member' link, on edit member
  permissions page, destructive
- convert missed links on /features pages
- convert missed links on /using-notify/guidance and sub pages
- give links in browse-lists back their size and
  weight (needed for lists of live and trial
  services on Platform Admin)
- give links on Platform Admin inbound numbers
  page back their size and weight
- update links in JS tests
This commit is contained in:
Tom Byers
2020-02-19 13:49:29 +00:00
parent 16c1c34588
commit efa892423a
19 changed files with 47 additions and 43 deletions

View File

@@ -16,6 +16,10 @@
margin-bottom: $gutter-half;
}
&-link {
@include govuk-font(24, $weight: bold);
}
&-hint {
@include core-19;
margin: 5px 0 10px 0;

View File

@@ -26,7 +26,7 @@
{% endif %}
{% if delete_link %}
<span class="page-footer-delete-link {% if not button_text %}page-footer-delete-link-without-button{% endif %}">
<a class="govuk-link govuk-link--no-visited-state" href="{{ delete_link }}">{{ delete_link_text }}</a>
<a class="govuk-link govuk-link--destructive" href="{{ delete_link }}">{{ delete_link_text }}</a>
</span>
{% endif %}
{% if secondary_link and secondary_link_text %}

View File

@@ -27,7 +27,7 @@
<h2 class="heading-medium" id="personalised-messages">Personalised content</h2>
<p>Notify makes it easy to send personalised messages from a single template.</p>
<p>See <a href="{{ url_for('.edit_and_format_messages', _anchor='personalised-content') }}">how to personalise your content</a>.</p>
<p>See <a class="govuk-link govuk-link--no-visited-state" href="{{ url_for('.edit_and_format_messages', _anchor='personalised-content') }}">how to personalise your content</a>.</p>
<h2 class="heading-medium" id="bulk-sending">Bulk sending</h2>
<p>To send a batch of messages at once, upload a list of contact details to Notify. If youre sending emails and text messages, you can also schedule the date and time you want them to be sent.</p>

View File

@@ -24,7 +24,7 @@
<h3 class="heading heading-small" id="branding">Email branding</h3>
<p>Add your organisations logo and brand colour to email templates.</p>
<p>See <a href="{{ url_for('.branding_and_customisation', _anchor='email-branding') }}">how to change your email branding</a>.</p>
<p>See <a class="govuk-link govuk-link--no-visited-state" href="{{ url_for('.branding_and_customisation', _anchor='email-branding') }}">how to change your email branding</a>.</p>
<h3 class="heading heading-small" id="send-files">Send files by email</h3>
<p>Notify offers a safe and reliable way to send files by email.</p>
@@ -41,7 +41,7 @@
<h3 class="heading heading-small" id="reply-to">Add a reply-to address</h3>
<p>Notify lets you choose the email address that users reply to.</p>
<p>Emails with a reply-to address seem more trustworthy and are less likely to be labelled as spam.</p>
<p>See <a href="{{ url_for('.branding_and_customisation', _anchor='reply-to-address') }}">how to add a reply-to address</a>.</p>
<p>See <a class="govuk-link govuk-link--no-visited-state" href="{{ url_for('.branding_and_customisation', _anchor='reply-to-address') }}">how to add a reply-to address</a>.</p>
<h2 class="heading heading-medium">Pricing</h2>
<p>Its free to send emails through Notify.</p>

View File

@@ -29,7 +29,7 @@
<h3 class="heading-small" id="branding">Branding</h3>
<p>Add your organisations logo to your letter templates.</p>
<p>See <a href="{{ url_for('.branding_and_customisation', _anchor='letter-branding') }}">how to change your letter branding</a>.</p>
<p>See <a class="govuk-link govuk-link--no-visited-state" href="{{ url_for('.branding_and_customisation', _anchor='letter-branding') }}">how to change your letter branding</a>.</p>
<h3 class="heading heading-small" id="upload-letters">Upload your own letters</h3>
<p>You can create reusable letter templates in Notify, or upload and send your own letters with the Notify API.</p>

View File

@@ -28,7 +28,7 @@
<h3 class="heading heading-small" id="sender">Show people who your texts are from</h3>
<p>When you send a text message with Notify, the sender name tells people who it's from.</p>
<p>See <a href="{{ url_for('.branding_and_customisation', _anchor='text-message-sender') }}">how to change the text message sender</a>.</p>
<p>See <a class="govuk-link govuk-link--no-visited-state" href="{{ url_for('.branding_and_customisation', _anchor='text-message-sender') }}">how to change the text message sender</a>.</p>
<h2 class="heading heading-medium">Pricing<h2>
<p>Each service you add has a free annual allowance. After that it costs 1.58 pence (plus VAT) to send a text to a UK number.</p>

View File

@@ -12,10 +12,10 @@
<p>This page explains how to:</p>
<ul class="list list-bullet">
<li><a href="#email-branding">change your email branding</a></li>
<li><a href="#reply-to-address">add a reply-to email address</a></li>
<li><a href="#text-message-sender">change the text message sender</a></li>
<li><a href="#letter-branding">change your letter branding</a></li>
<li><a class="govuk-link govuk-link--no-visited-state" href="#email-branding">change your email branding</a></li>
<li><a class="govuk-link govuk-link--no-visited-state" href="#reply-to-address">add a reply-to email address</a></li>
<li><a class="govuk-link govuk-link--no-visited-state" href="#text-message-sender">change the text message sender</a></li>
<li><a class="govuk-link govuk-link--no-visited-state" href="#letter-branding">change your letter branding</a></li>
</ul>
<h2 class="heading-medium" id="email-branding">Change your email branding</h2>
@@ -31,7 +31,7 @@
<h2 class="heading-medium" id="reply-to-address">Add a reply-to email address</h2>
<p>You can choose the email address that your users reply to. You must add at least one reply-to address for your service before you can <a href="{{ url_for('main.trial_mode_new') }}">request to go live</a>.</p>
<p>You can choose the email address that your users reply to. You must add at least one reply-to address for your service before you can <a class="govuk-link govuk-link--no-visited-state" href="{{ url_for('main.trial_mode_new') }}">request to go live</a>.</p>
<p>To add a reply-to email address:</p>

View File

@@ -9,7 +9,7 @@
<h1 class="heading-large">Send messages</h1>
<p><a href="{{ url_for('main.register') }}">Create an account</a> to see a short tutorial explaining how to create and send messages.</p>
<p><a class="govuk-link govuk-link--no-visited-state" href="{{ url_for('main.register') }}">Create an account</a> to see a short tutorial explaining how to create and send messages.</p>
<h2 class="heading-medium" id="bulk-sending">Bulk sending</h2>

View File

@@ -11,10 +11,10 @@
<p>This page explains how to:</p>
<ul class="list list-bullet">
<li><a href="#formatting">format your content</a></li>
<li><a href="#links">add links</a></li>
<li><a href="#personalised-content">personalise your content</a></li>
<li><a href="#optional-content">add optional content</a></li>
<li><a class="govuk-link govuk-link--no-visited-state" href="#formatting">format your content</a></li>
<li><a class="govuk-link govuk-link--no-visited-state" href="#links">add links</a></li>
<li><a class="govuk-link govuk-link--no-visited-state" href="#personalised-content">personalise your content</a></li>
<li><a class="govuk-link govuk-link--no-visited-state" href="#optional-content">add optional content</a></li>
</ul>
<h2 class="heading-medium" id="formatting">Format your content</h2>
@@ -30,7 +30,7 @@
<ul class="list list-bullet">
<li>headings</li>
<li>bullets</li>
<li><a href="https://design-system.service.gov.uk/components/inset-text/">inset text</a></li>
<li><a class="govuk-link govuk-link--no-visited-state" href="https://design-system.service.gov.uk/components/inset-text/">inset text</a></li>
<li>horizontal rules</li>
</ul>

View File

@@ -15,9 +15,9 @@
<p>It explains how to:</p>
<ul class="list list-bullet">
<li><a href="{{ url_for('.edit_and_format_messages') }}">edit and format messages</a></li>
<li><a href="{{ url_for('.branding_and_customisation') }}">add branding and customisation</a></li>
<li><a href="{{ url_for('.send_files_by_email') }}">send files by email</a></li>
<li><a class="govuk-link govuk-link--no-visited-state" href="{{ url_for('.edit_and_format_messages') }}">edit and format messages</a></li>
<li><a class="govuk-link govuk-link--no-visited-state" href="{{ url_for('.branding_and_customisation') }}">add branding and customisation</a></li>
<li><a class="govuk-link govuk-link--no-visited-state" href="{{ url_for('.send_files_by_email') }}">send files by email</a></li>
</ul>
<h2 class="heading-medium">More information</h2>
@@ -25,10 +25,10 @@
<p>The GOV.UK Service Manual has advice on:</p>
<ul class="list list-bullet">
<li><a href="https://www.gov.uk/service-manual/design/sending-emails-and-text-messages">planning and writing text messages and emails</a></li>
<li><a href="https://www.gov.uk/service-manual/design/writing-effective-letters">writing effective letters</a></li>
<li><a href="https://www.gov.uk/service-manual/technology/how-to-email-your-users">sending emails from your service domain</a></li>
<li><a href="https://www.gov.uk/service-manual/technology/sending-text-messages-securely">sending text messages securely</a></li>
<li><a class="govuk-link govuk-link--no-visited-state" href="https://www.gov.uk/service-manual/design/sending-emails-and-text-messages">planning and writing text messages and emails</a></li>
<li><a class="govuk-link govuk-link--no-visited-state" href="https://www.gov.uk/service-manual/design/writing-effective-letters">writing effective letters</a></li>
<li><a class="govuk-link govuk-link--no-visited-state" href="https://www.gov.uk/service-manual/technology/how-to-email-your-users">sending emails from your service domain</a></li>
<li><a class="govuk-link govuk-link--no-visited-state" href="https://www.gov.uk/service-manual/technology/sending-text-messages-securely">sending text messages securely</a></li>
</ul>
{% endblock %}

View File

@@ -8,8 +8,8 @@
<h1 class="heading-large">Send files by email</h1>
<p><a href="{{ url_for('.support') }}">Contact us</a> if you want to send files by email.</p>
<p><a class="govuk-link govuk-link--no-visited-state" href="{{ url_for('.support') }}">Contact us</a> if you want to send files by email.</p>
<p>Then follow the instructions to send a file by email in our <a href="{{ url_for('.documentation') }}">API documentation</a>.</p>
<p>Then follow the instructions to send a file by email in our <a class="govuk-link govuk-link--no-visited-state" href="{{ url_for('.documentation') }}">API documentation</a>.</p>
{% endblock %}

View File

@@ -35,8 +35,8 @@
<p>To help you set up your letter, you can download our:</p>
<ul class="list list-bullet">
<li><a href="{{ url_for('.letter_spec') }}">letter specification document (PDF)</a></li>
<li><a href="https://docs.notifications.service.gov.uk/documentation/images/notify-pdf-letter-word-template-v1.0.docx">print margin checker for Microsoft Word (.docx)</a></li>
<li><a class="govuk-link govuk-link--no-visited-state" href="{{ url_for('.letter_spec') }}">letter specification document (PDF)</a></li>
<li><a class="govuk-link govuk-link--no-visited-state" href="https://docs.notifications.service.gov.uk/documentation/images/notify-pdf-letter-word-template-v1.0.docx">print margin checker for Microsoft Word (.docx)</a></li>
</ul>

View File

@@ -46,8 +46,8 @@ Inbound Numbers
{% for value in inbound_num_list.data: %}
<tr>
<th style="font-weight:normal;">{{value.number}}</th>
<th style="font-weight:normal;">
<td>{{value.number}}</td>
<td>
{% if value.active %}
Active
@@ -56,10 +56,10 @@ Inbound Numbers
{% else %}
Inactive
{% endif %}
</th>
<th style="font-weight:normal;">
<a href="{{ url_for('main.service_dashboard', service_id=value.service.id) }}" class="govuk-link govuk-link--no-visited-state">{{ value.service.name }}</a>
</th>
</td>
<td>
<a href="{{ url_for('main.service_dashboard', service_id=value.service.id) }}" class="govuk-link govuk-link--no-visited-state govuk-!-font-size-24 govuk-!-font-weight-bold">{{ value.service.name }}</a>
</td>
</tr>
{% endfor %}
</tbody>