-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #162 from Christine-horrocks/Add_highlight_to_lists
Add highlight to lists
- Loading branch information
Showing
6 changed files
with
165 additions
and
4 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
129 changes: 129 additions & 0 deletions
129
spec/fixtures/serializers/page_serializer/list_page_serializer/with_status.yml
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,129 @@ | ||
--- | ||
layout: | ||
template: layout | ||
meta: | ||
title: some meta heading - UK Parliament | ||
request-id: 123456 | ||
open-graph: | ||
title: some meta heading - UK Parliament | ||
original-url: https://example.com/ | ||
image-url: https://static.parliament.uk/assets-public/opengraph-oblong.png | ||
image-width: '1200' | ||
image-height: '630' | ||
twitter-card: summary_large_image | ||
opensearch-description-url: https://example.com/search/opensearch | ||
header-components: | ||
- name: link | ||
data: | ||
link: "#content" | ||
display: | ||
name: partials__display | ||
data: | ||
- component: skip-to-content | ||
selector: skiplink | ||
content: shared.header.skip-to-content | ||
- name: status__banner | ||
data: | ||
display: | ||
name: partials__display | ||
data: | ||
- component: status | ||
variant: banner | ||
- component: theme | ||
variant: caution | ||
- component: cookie | ||
selector: cookie | ||
components: | ||
- name: paragraph | ||
data: | ||
- content: shared.header.cookie-banner-text | ||
data: | ||
link: "/meta/cookie-policy" | ||
- name: status__banner | ||
data: | ||
display: | ||
name: partials__display | ||
data: | ||
- component: status | ||
variant: banner | ||
components: | ||
- name: paragraph | ||
data: | ||
- content: shared.header.beta-status | ||
- name: header | ||
data: | ||
components: | ||
- name: link | ||
data: | ||
link: "/" | ||
display: | ||
name: partials__display | ||
data: | ||
- component: uk_parliament | ||
label: shared.header.label | ||
components: | ||
- name: icon__uk-parliament | ||
data: shared.header.label | ||
- name: form__search | ||
data: | ||
global: true | ||
label: search.label | ||
components: | ||
- name: icon__search | ||
data: search.search-icon | ||
search-action: "/search" | ||
main-components: | ||
- name: section__primary | ||
data: | ||
content-flag: true | ||
components: | ||
- name: heading1 | ||
data: | ||
heading: | ||
content: Test page | ||
- name: status__highlight | ||
data: | ||
display: | ||
- name: partials__display | ||
data: | ||
- component: status | ||
variant: highlight | ||
components: | ||
name: paragraph | ||
data: | ||
- content: search.new-search | ||
- name: section__section | ||
data: | ||
components: | ||
- name: list__generic | ||
data: | ||
type: ol | ||
display: | ||
name: partials__display | ||
data: | ||
- component: list | ||
variant: block | ||
components: | ||
- list-component: list component | ||
footer-components: | ||
- name: footer | ||
data: | ||
heading: | ||
name: heading | ||
data: | ||
content: shared.meta.title | ||
size: 2 | ||
list-generic: | ||
name: list__generic | ||
data: | ||
type: ul | ||
display: | ||
name: partials__display | ||
data: | ||
- component: list | ||
contents: | ||
- content: shared.footer.current-website | ||
- content: shared.footer.cookie-policy | ||
data: | ||
link: "/meta/cookie-policy" | ||
- content: shared.footer.data-protection-privacy |
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