Changed some more instances of "confirmation" code to "security" code

This commit is contained in:
Martyn Inglis
2016-08-22 12:52:05 +01:00
parent e610d83be4
commit 380a6526c4
5 changed files with 8 additions and 8 deletions

View File

@@ -12,7 +12,7 @@ Check your mobile number GOV.UK Notify
<div class="column-two-thirds">
<h1 class="heading-large">Check your mobile number</h1>
<p>Check your mobile phone number is correct and then resend the confirmation code.</p>
<p>Check your mobile phone number is correct and then resend the security code.</p>
<p>
<label class="form-label" for="mobile">Mobile phone number</label>
@@ -21,7 +21,7 @@ Check your mobile number GOV.UK Notify
<p>
<a class="button" href="verify-mobile" role="button">Resend confirmation code</a>
<a class="button" href="verify-mobile" role="button">Resend security code</a>
</p>
</div>
</div>

View File

@@ -12,11 +12,11 @@ Check your mobile number GOV.UK Notify
<div class="column-two-thirds">
<h1 class="heading-large">Check your mobile number</h1>
<p>Check your mobile phone number is correct and then resend the confirmation code.</p>
<p>Check your mobile phone number is correct and then resend the security code.</p>
<form autocomplete="off" method="post">
{{ textbox(form.mobile_number) }}
{{ page_footer("Resend confirmation code") }}
{{ page_footer("Resend security code") }}
</form>
</div>
</div>

View File

@@ -13,7 +13,7 @@ GOV.UK Notify | Service settings
<div class="grid-row">
<div class="column-three-quarters">
<p>
Weve sent a code to your new {{ thing }}.
Weve sent a security code to your new {{ thing }}.
</p>
<form method="post">
{{ textbox(form_field) }}

View File

@@ -10,10 +10,10 @@ Confirm your mobile number GOV.UK Notify
<div class="column-two-thirds">
<h1 class="heading-large">Confirm your mobile number</h1>
<p>We've sent you a confirmation code by text message.</p>
<p>We've sent you a security code by text message.</p>
<p>
<label class="form-label" for="email">Enter confirmation code<br>
<label class="form-label" for="email">Enter security code<br>
<input class="form-control-1-4" id="email" type="text"><br>
<span class="font-xsmall"><a href="{{ url_for('.text-not-received-2') }}">I haven't received a text</a></span>
</p>

View File

@@ -66,7 +66,7 @@ def test_should_render_correct_resend_template_for_pending_user(app_,
page = BeautifulSoup(response.data.decode('utf-8'), 'html.parser')
assert page.h1.string == 'Check your mobile number'
expected = 'Check your mobile phone number is correct and then resend the confirmation code.'
expected = 'Check your mobile phone number is correct and then resend the security code.'
message = page.find_all('p')[1].text
assert message == expected
assert page.find('form').input['value'] == api_user_pending.mobile_number