mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-02-06 03:13:42 -05:00
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:
@@ -43,7 +43,7 @@ describe("Cookie message", () => {
|
||||
<div id="global-cookie-message" class="notify-cookie-banner" data-module="cookie-banner" role="region" aria-label="cookie banner" data-nosnippet="">
|
||||
<div class="notify-cookie-banner__wrapper govuk-width-container govuk-!-padding-4">
|
||||
<h2 class="notify-cookie-banner__heading govuk-heading-m">Cookies on GOV.UK Notify</h2>
|
||||
<p class="notify-cookie-banner__message govuk-body">We use <a class="govuk-link" href="/cookies">small files called cookies</a> to make GOV.UK Notify work.</p>
|
||||
<p class="notify-cookie-banner__message govuk-body">We use <a class="govuk-link govuk-link--no-visited-state" href="/cookies">small files called cookies</a> to make GOV.UK Notify work.</p>
|
||||
<div class="notify-cookie-banner__buttons notify-cookie-banner__no-js">
|
||||
<div class="notify-cookie-banner__button">
|
||||
<a href="/cookies" class="govuk-button notify-cookie-banner-button--inline" role="button" data-accept-cookies="true">Set cookie preferences</a>
|
||||
@@ -64,7 +64,7 @@ describe("Cookie message", () => {
|
||||
</div>
|
||||
<div class="notify-cookie-banner__confirmation govuk-width-container" tabindex="-1">
|
||||
<p class="notify-cookie-banner__confirmation-message govuk-body">
|
||||
You can <a class="govuk-link" href="/cookies">change your cookie settings</a> at any time.
|
||||
You can <a class="govuk-link govuk-link--no-visited-state" href="/cookies">change your cookie settings</a> at any time.
|
||||
</p>
|
||||
<button class="notify-cookie-banner__hide-button" data-hide-cookie-banner="true">Hide</button>
|
||||
</div>
|
||||
|
||||
@@ -34,7 +34,7 @@ describe("Cookie settings", () => {
|
||||
cookiesPageContent = `
|
||||
<div class="cookie-settings__confirmation banner banner-with-tick" data-cookie-confirmation="true" role="group" tabindex="-1">
|
||||
<h2 class="banner-title">Your cookie settings were saved</h2>
|
||||
<a class="govuk_link cookie-settings__prev-page" href="#" data-module="track-click" data-track-category="cookieSettings" data-track-action="Back to previous page">
|
||||
<a class="govuk_link govuk_link--no-visited-state cookie-settings__prev-page" href="#" data-module="track-click" data-track-category="cookieSettings" data-track-action="Back to previous page">
|
||||
Go back to the page you were looking at
|
||||
</a>
|
||||
</div>
|
||||
|
||||
@@ -484,7 +484,7 @@ describe('Live search', () => {
|
||||
</div>
|
||||
</div>
|
||||
<li class="tick-cross-list-edit-link">
|
||||
<a href="/services/6658542f-0cad-491f-bec8-ab8457700ead/cancel-invited-user/21d6d54f-51e2-44ba-b48f-545d678c4c64">Cancel invitation</a>
|
||||
<a class="govuk-link govuk-link--no-visited-state" href="/services/6658542f-0cad-491f-bec8-ab8457700ead/cancel-invited-user/21d6d54f-51e2-44ba-b48f-545d678c4c64">Cancel invitation</a>
|
||||
</li>
|
||||
</ul>
|
||||
</div>`);
|
||||
|
||||
@@ -697,7 +697,7 @@ describe("Stick to top/bottom of window when scrolling", () => {
|
||||
<p>This is a paragraph with a horizontal line underneath.</p>
|
||||
<hr>
|
||||
<p>This is a paragraph with a horizontal line above.</p>
|
||||
<p>This paragraph has a link in it: <a href="https://www.gov.uk">https://www.gov.uk</a>.</p>
|
||||
<p>This paragraph has a link in it: <a class="govuk-link govuk-link--no-visited-state" href="https://www.gov.uk">https://www.gov.uk</a>.</p>
|
||||
</div>
|
||||
<div class="page-footer js-stick-at-bottom-when-scrolling">
|
||||
<form method="post" action="">
|
||||
|
||||
@@ -45,7 +45,7 @@ function templatesAndFoldersCheckboxes (hierarchy) {
|
||||
<label></label>
|
||||
</div>
|
||||
<h2 class="message-name">
|
||||
<a href="/services/6658542f-0cad-491f-bec8-ab8457700ead/templates/all/folders/3d057d9a-51fc-45ea-8b63-0003206350a6" class="template-list-${node.type === 'folder' ? 'folder' : 'template'}">
|
||||
<a href="/services/6658542f-0cad-491f-bec8-ab8457700ead/templates/all/folders/3d057d9a-51fc-45ea-8b63-0003206350a6" class="govuk-link govuk-link--no-visited-state template-list-${node.type === 'folder' ? 'folder' : 'template'}">
|
||||
<span class="live-search-relevant">${node.label}</span>
|
||||
</a>
|
||||
</h2>
|
||||
|
||||
@@ -55,7 +55,7 @@ describe('Update content', () => {
|
||||
</div>
|
||||
</li>
|
||||
<li aria-selected="false" role="tab">
|
||||
<a href="/services/6658542f-0cad-491f-bec8-ab8457700ead/notifications/email?status=sending">
|
||||
<a class="govuk-link govuk-link--no-visited-state" href="/services/6658542f-0cad-491f-bec8-ab8457700ead/notifications/email?status=sending">
|
||||
<div class="big-number-smaller">
|
||||
<div class="big-number-number">0</div>
|
||||
</div>
|
||||
@@ -63,7 +63,7 @@ describe('Update content', () => {
|
||||
</a>
|
||||
</li>
|
||||
<li aria-selected="false" role="tab">
|
||||
<a href="/services/6658542f-0cad-491f-bec8-ab8457700ead/notifications/email?status=delivered">
|
||||
<a class="govuk-link govuk-link--no-visited-state" href="/services/6658542f-0cad-491f-bec8-ab8457700ead/notifications/email?status=delivered">
|
||||
<div class="big-number-smaller">
|
||||
<div class="big-number-number">0</div>
|
||||
</div>
|
||||
@@ -71,7 +71,7 @@ describe('Update content', () => {
|
||||
</a>
|
||||
</li>
|
||||
<li aria-selected="false" role="tab">
|
||||
<a href="/services/6658542f-0cad-491f-bec8-ab8457700ead/notifications/email?status=failed">
|
||||
<a class="govuk-link govuk-link--no-visited-state" href="/services/6658542f-0cad-491f-bec8-ab8457700ead/notifications/email?status=failed">
|
||||
<div class="big-number-smaller">
|
||||
<div class="big-number-number">0</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user