Change wording on the banner

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.
This commit is contained in:
Chris Hill-Scott
2016-02-03 10:25:59 +00:00
parent 394a9db3f7
commit 8d3e3e6943
2 changed files with 17 additions and 6 deletions

View File

@@ -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 {

View File

@@ -12,16 +12,17 @@
<h1 class="heading-large">Send text messages</h1>
{{ 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 <a href="{}">request to go live</a>'.format(
url_for('.service_request_to_go_live', service_id=service_id)
)|safe,
type='info'
) }}
<p>
{{textbox(form.file)}}
</p>