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

Add two extra empty collections to daily editions life front on Sundays. #1538

Merged
merged 2 commits into from
Dec 6, 2023
Merged
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
16 changes: 9 additions & 7 deletions app/model/editions/templates/DailyEdition.scala
Original file line number Diff line number Diff line change
Expand Up @@ -199,9 +199,9 @@ object DailyEdition extends RegionalEdition {
.swatch(Opinion)

def FrontOpinionSpecial = specialFront("Journal Special", Opinion)

// New for Saturday Life Magazine, we're making temporarily a special to be hidden by default.

def FrontLifeSaturdayMagazineFeatures = front(
"Features",
collection("Features").printSentAnyTag("theguardian/saturday/features"),
Expand All @@ -211,7 +211,7 @@ object DailyEdition extends RegionalEdition {
collection("Features").hide
)
.swatch(Lifestyle)

def FrontLifeSaturdayMagazineCuttings = front(
"Cuttings",
collection("Cuttings").printSentAnyTag("theguardian/saturday/cuttings"),
Expand Down Expand Up @@ -251,9 +251,9 @@ object DailyEdition extends RegionalEdition {
collection("Culture").hide
)
.swatch(Culture)

// New for the Saturday Magazine

def FrontCultureSaturdayMagazineCulture = front(
"Culture",
collection("Culture").printSentAnyTag("theguardian/saturday/culture", "theguardian/whatson/whatson"),
Expand All @@ -263,7 +263,7 @@ object DailyEdition extends RegionalEdition {
collection("Culture").hide
)
.swatch(Culture)

def FrontCultureSaturdayMagazineBooks = front(
"Books",
collection("Books"),
Expand Down Expand Up @@ -297,7 +297,7 @@ object DailyEdition extends RegionalEdition {
collection("Critics").hide
)
.swatch(Culture)

def FrontBooks = front(
"Books",
collection("Books").printSentAnyTag("theobserver/new-review/books"),
Expand Down Expand Up @@ -372,6 +372,8 @@ object DailyEdition extends RegionalEdition {
collection("Life").printSentAllTags("theobserver/magazine/life-and-style", "-food/food"),
collection("Life").printSentAnyTag("theobserver/design/design").hide,
collection("Life").hide,
collection("Life").hide,
collection("Life").hide,
collection("Life").hide
)
.swatch(Lifestyle)
Expand Down
Loading