-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into dependabot/github_actions/gh-version-updates…
…-533f70582a
- Loading branch information
Showing
27 changed files
with
712 additions
and
125 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 changes: 10 additions & 0 deletions
10
cms/jinja2/templates/components/streamfield/announcement_panel.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
{% from "components/panel/_macro.njk" import onsPanel %} | ||
|
||
{# fmt:off #} | ||
{{- | ||
onsPanel({ | ||
"variant": "announcement", | ||
"body": value.body | ||
}) | ||
-}} | ||
{# fmt:on #} |
11 changes: 11 additions & 0 deletions
11
cms/jinja2/templates/components/streamfield/information_panel.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
{% from "components/panel/_macro.njk" import onsPanel %} | ||
|
||
{# fmt:off #} | ||
{{- | ||
onsPanel({ | ||
"variant": "info", | ||
"body": value.body, | ||
"title": value.title | ||
}) | ||
-}} | ||
{# fmt:on #} |
This file was deleted.
Oops, something went wrong.
10 changes: 10 additions & 0 deletions
10
cms/jinja2/templates/components/streamfield/warning_panel.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
{% from "components/panel/_macro.njk" import onsPanel %} | ||
|
||
{# fmt:off #} | ||
{{- | ||
onsPanel({ | ||
"variant": "warn", | ||
"body": value.body | ||
}) | ||
-}} | ||
{# fmt:off #} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
{% extends "templates/base_page.html" %} | ||
{% from "components/document-list/_macro.njk" import onsDocumentList %} | ||
{% from "components/related-content/_macro.njk" import onsRelatedContent %} | ||
|
||
{% block main %} | ||
|
||
{% if page.summary %} | ||
<p>{{ page.summary|richtext }}</p> | ||
{% endif %} | ||
|
||
{% if formatted_items %} | ||
{{ onsDocumentList({"documents": formatted_items}) }} | ||
{% endif %} | ||
|
||
{% if page.content %} | ||
{% include_block page.content|richtext %} | ||
{% endif %} | ||
|
||
{% if related_links_list %} | ||
{# fmt:off #} | ||
{{ | ||
onsRelatedContent({ | ||
"ariaLabel": _('Related links'), | ||
"rows": [{ | ||
"id": 'related-content', | ||
"title": _('Related links'), | ||
"itemsList": related_links_list | ||
}] | ||
}) | ||
}} | ||
{# fmt:on #} | ||
{% endif %} | ||
|
||
{% endblock %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.