Make trial mode message less verbose

Frontloads the ‘not’ part of the message, and makes it shorter, so
it’s more likely to be read and understood. Also makes it fit better
with the new ‘Can’t be used to send letters’ message.
This commit is contained in:
Chris Hill-Scott
2017-10-03 13:17:37 +01:00
parent 9c25b2d2da
commit d7fc7b082f
2 changed files with 2 additions and 2 deletions

View File

@@ -73,7 +73,7 @@ def create_api_key(service_id):
if current_service['restricted']:
disabled_options = [KEY_TYPE_NORMAL]
option_hints[KEY_TYPE_NORMAL] = Markup(
'This option is not available because your service is in '
'Not available because your service is in '
'<a href="{}#trial-mode">trial mode</a>'.format(url_for(".using_notify"))
)
if 'letter' in current_service['permissions']:

View File

@@ -132,7 +132,7 @@ def test_should_show_api_keys_page(
[
(
'Live sends to anyone '
'This option is not available because your service is in trial mode'
'Not available because your service is in trial mode'
),
'Team and whitelist limits who you can send to',
'Test pretends to send messages',