Skip to content

Commit

Permalink
SDCSRM-375 Updated design system version (#36)
Browse files Browse the repository at this point in the history
Updated design system version and updated code
  • Loading branch information
ryangrundy7 authored Apr 4, 2024
1 parent 3fb899d commit 8f46e76
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 13 deletions.
2 changes: 1 addition & 1 deletion load_templates.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"

cd "${DIR}"/

DESIGN_SYSTEM_VERSION="65.1.0"
DESIGN_SYSTEM_VERSION="70.0.2"

TEMP_DIR=$(mktemp -d)

Expand Down
2 changes: 1 addition & 1 deletion rh_ui/templates/info_pages/cookies.html
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@

{% call onsPanel({
"classes": "ons-u-mb-s ons-u-d-no ons-cookies-confirmation-message",
"type": "success"
"variant": "success"
}) %}
<h2>{{ _('Your cookie settings have been saved') }}</h2>
<p>{{ _('Some parts of start.surveys.ons.gov.uk may use additional cookies and will have their own cookie policy and
Expand Down
4 changes: 2 additions & 2 deletions rh_ui/templates/partials/messages.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
{%- if itemsList.append( {
'text': error_uac['text'],
'url': '#' + error_uac['field'],
'classes': 'js-inpagelink'
'variants': 'inPageLink'
} )
-%} {%- endif -%}

Expand All @@ -23,7 +23,7 @@
{%- call
onsPanel({
'title': errorTitle,
'type': 'error'
'variant': 'error'
})
-%}

Expand Down
11 changes: 2 additions & 9 deletions rh_ui/templates/start.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,6 @@
{% from "components/button/_macro.njk" import onsButton %}
{% from "components/details/_macro.njk" import onsDetails %}

{% set form = {
'method': 'POST',
'attributes': {
'action': url_for('i18n.start_bp.start_post')
}
} %}


{# display uac error msg if exists #}

{% set flashed_messages = get_flashed_messages() %}
Expand All @@ -32,7 +24,7 @@
{%- endif -%}

{% block main %}

<form method="POST" action={{ url_for('i18n.start_bp.start_post')}}>
{% if error_uac %}
{% include 'partials/messages.html' with context %}
{% endif %}
Expand Down Expand Up @@ -79,4 +71,5 @@ <h2 class="ons-u-fs-xl ons-u-mt-l" id="find_access_code">{{ _('Where to find you
"content": further_info_content
}) }}

</form>
{% endblock %}

0 comments on commit 8f46e76

Please sign in to comment.