Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SDCSRM-375 Updated design system version #36

Merged
merged 1 commit into from
Apr 4, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 %}
Loading