Skip to content

Commit

Permalink
Updates access code text and relevant VR tests (#2993)
Browse files Browse the repository at this point in the history
* updates access code text and relevant vr tests

* Update src/components/access-code/example-access-code.njk

Co-authored-by: rmccar <[email protected]>

* Update src/components/access-code/example-access-code-error.njk

Co-authored-by: rmccar <[email protected]>

* Update src/components/access-code/example-access-code-error.njk

Co-authored-by: rmccar <[email protected]>

* updated reference images

---------

Co-authored-by: Alessio Venturini <[email protected]>
Co-authored-by: rmccar <[email protected]>
Co-authored-by: Alessio <[email protected]>
  • Loading branch information
4 people authored Jan 26, 2024
1 parent b0ed445 commit 22a16bc
Show file tree
Hide file tree
Showing 10 changed files with 29 additions and 35 deletions.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
15 changes: 6 additions & 9 deletions src/components/access-code/example-access-code-error.njk
Original file line number Diff line number Diff line change
Expand Up @@ -58,28 +58,25 @@ layout: ~
"classes": "ons-u-mb-xl"
}) }}

<h2>If you don’t have an access code</h2>
<h2>If you do not have an access code</h2>
<p>
You can <a href="#0">request a new access code</a> to start a new study if you have lost or not received an access code. This can be sent to you by text or post.
If you have lost or not received an access code, you can <a href="#0">request a new access code</a>.
This can be sent to you by text or post.
</p>

{% set content %}
<p>If you need to answer separately from the people you live with, you can <a href='#0'>request an individual access code</a> to start a separate study.</p>
<p>If you need to answer separately from the people you live with, you can <a href="#0">request an individual access code</a>.</p>
{% call onsPanel({
"type": "warn"
})
%}
Someone in your household must still complete a study using a household access code
Someone in your household must still complete a study using this household access code
{% endcall %}
{% endset %}

{% call onsDetails({
"id": "details-access-code-error",
"title": "Need to answer separately from your household?",
"button": {
"close": "Hide this",
"contextSuffix": "content"
}
"title": "Need to answer separately from your household?"
})
%}
{{ content | safe }}
Expand Down
17 changes: 7 additions & 10 deletions src/components/access-code/example-access-code.njk
Original file line number Diff line number Diff line change
Expand Up @@ -34,28 +34,25 @@ layout: ~
"classes": "ons-u-mb-xl"
}) }}

<h2>If you don’t have an access code</h2>
<h2>If you do not have an access code</h2>
<p>
You can <a href="#0">request a new access code</a> to start a new study if you have lost or not received an access code. This can be sent to you by text or post.
If you have lost or not received an access code, you can <a href="#0">request a new access code</a>.
This can be sent to you by text or post.
</p>

{% set content %}
<p>If you need to answer separately from the people you live with, you can <a href='#0'>request an individual access code</a> to start a separate study.</p>
<p>If you need to answer separately from the people you live with, you can <a href="#0">request an individual access code</a>.</p>
{% call onsPanel({
type: "warn"
})
%}
Someone in your household must still complete a study using a household access code
Someone in your household must still complete a study using this household access code
{% endcall %}
{% endset %}

{% call onsDetails({
id: "details",
title: "Need to answer separately from your household?",
button: {
"close": "Hide this",
"contextSuffix": "content"
}
"id": "details",
"title": "Need to answer separately from your household?"
})
%}
{{ content | safe }}
Expand Down

0 comments on commit 22a16bc

Please sign in to comment.