From 8d3e3e69433dbd75b64277212ad6bc7e3c04798f Mon Sep 17 00:00:00 2001 From: Chris Hill-Scott Date: Wed, 3 Feb 2016 10:25:59 +0000 Subject: [PATCH] Change wording on the banner MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit We can ignore any mention of trial/test/mode if we just talk about ‘not live’. It also feels sensible to link through to the page where you can make that change, rather than dig through the navigation. --- app/assets/stylesheets/components/banner.scss | 10 ++++++++++ app/templates/views/send-sms.html | 13 +++++++------ 2 files changed, 17 insertions(+), 6 deletions(-) diff --git a/app/assets/stylesheets/components/banner.scss b/app/assets/stylesheets/components/banner.scss index 18a4ae6db..ae237e56d 100644 --- a/app/assets/stylesheets/components/banner.scss +++ b/app/assets/stylesheets/components/banner.scss @@ -33,6 +33,16 @@ @extend .banner; background: $govuk-blue; color: $white; + + a:link, a:visited { + color: $white; + text-decoration: underline; + } + + a:hover { + color: $light-blue-25; + } + } .banner-dangerous { diff --git a/app/templates/views/send-sms.html b/app/templates/views/send-sms.html index 465deaca3..039edc7b4 100644 --- a/app/templates/views/send-sms.html +++ b/app/templates/views/send-sms.html @@ -12,16 +12,17 @@

Send text messages

- {{ banner( - 'You can only send notifications to yourself', - subhead='Trial mode', - type='info' - ) }} - {{ sms_message( template.content, name='Preview' ) }} + {{ banner( + 'You can only send messages to yourself until you request to go live'.format( + url_for('.service_request_to_go_live', service_id=service_id) + )|safe, + type='info' + ) }} +

{{textbox(form.file)}}