Skip to content

Commit

Permalink
Merge pull request #21 from tim-s-ccs/make-updates-for-govuk-frontend…
Browse files Browse the repository at this point in the history
…-v5.5.0

Update GOV.UK Frontend version to v5.5.0
  • Loading branch information
tim-s-ccs authored Aug 12, 2024
2 parents d5bda1e + cd54d07 commit cc199c8
Show file tree
Hide file tree
Showing 7 changed files with 18 additions and 10 deletions.
8 changes: 7 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,13 @@ All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [Unreleased](https://github.com/tim-s-ccs/ccs-govuk-frontend-jinja/compare/1.2.1...main)
## [Unreleased](https://github.com/tim-s-ccs/ccs-govuk-frontend-jinja/compare/1.2.2...main)

## [1.2.2](https://github.com/tim-s-ccs/ccs-govuk-frontend-jinja/releases/tag/1.2.2) - 15/07/2024

### Added

- [GOV.UK Frontend v5.5.0](https://github.com/alphagov/govuk-frontend/releases/tag/v5.5.0) support

## [1.2.1](https://github.com/tim-s-ccs/ccs-govuk-frontend-jinja/releases/tag/1.2.1) - 15/07/2024

Expand Down
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ The following table shows the version of CCS GOV.UK Frontend Jinja that you shou

| CCS GOV.UK Frontend Jinja Version | Target GOV.UK Frontend Version |
| ----------------------------- | ------------------------------ |
| [1.2.2](https://github.com/tim-s-ccs/ccs-govuk-frontend-jinja/releases/tag/1.2.2) | [5.5.0](https://github.com/alphagov/govuk-frontend/releases/tag/v5.5.0) |
| [1.2.1](https://github.com/tim-s-ccs/ccs-govuk-frontend-jinja/releases/tag/1.2.1) | [5.4.1](https://github.com/alphagov/govuk-frontend/releases/tag/v5.4.1) |
| [1.2.0](https://github.com/tim-s-ccs/ccs-govuk-frontend-jinja/releases/tag/1.2.0) | [5.4.0](https://github.com/alphagov/govuk-frontend/releases/tag/v5.4.0) |
| [1.1.0](https://github.com/tim-s-ccs/ccs-govuk-frontend-jinja/releases/tag/1.1.0) | [5.4.0](https://github.com/alphagov/govuk-frontend/releases/tag/v5.4.0) |
| [1.0.0](https://github.com/tim-s-ccs/ccs-govuk-frontend-jinja/releases/tag/1.0.0) | [5.3.1](https://github.com/alphagov/govuk-frontend/releases/tag/v5.3.1) |
Expand Down
2 changes: 1 addition & 1 deletion govuk_frontend_jinja/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "1.2.1"
__version__ = "1.2.2"
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{% macro govukBackLink(params) %}
{% from "govuk_frontend_jinja/macros/attributes.html" import govukAttributes -%}

<a href="{{ params.href | default('#') }}" class="govuk-back-link {%- if params.classes %} {{ params.classes }}{% endif %}"
<a href="{{ params.href | default('#', true) }}" class="govuk-back-link {%- if params.classes %} {{ params.classes }}{% endif %}"
{{- govukAttributes(params.attributes) }}>
{{- params.html | safe if params.html else (params.text | default("Back")) -}}
{{- params.html | safe if params.html else (params.text | default("Back", true)) -}}
</a>
{% endmacro %}
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
<ul class="govuk-task-list {%- if params.classes %} {{ params.classes }}{% endif %}"
{{- govukAttributes(params.attributes) }}>
{% for item in params['items'] %}
{{- _taskListItem(params, item, loop.index) }}
{{- _taskListItem(params, item, loop.index) if item }}
{% endfor %}
</ul>
{% endmacro %}
8 changes: 4 additions & 4 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@
"author": "Matt Shaw",
"license": "MIT",
"devDependencies": {
"govuk-frontend": "^5.4.1"
"govuk-frontend": "^5.5.0"
}
}

0 comments on commit cc199c8

Please sign in to comment.