From d39189a6b56f76b34ac5fc0e78ba835c257ed709 Mon Sep 17 00:00:00 2001 From: David Blatcher <30567854+dblatcher@users.noreply.github.com> Date: Wed, 6 Dec 2023 10:20:54 +0000 Subject: [PATCH] Add two extra empty collections to daily editions life front on Sundays. (#1538) --- app/model/editions/templates/DailyEdition.scala | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/app/model/editions/templates/DailyEdition.scala b/app/model/editions/templates/DailyEdition.scala index fe602e2f8be..38ceafe334c 100644 --- a/app/model/editions/templates/DailyEdition.scala +++ b/app/model/editions/templates/DailyEdition.scala @@ -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"), @@ -211,7 +211,7 @@ object DailyEdition extends RegionalEdition { collection("Features").hide ) .swatch(Lifestyle) - + def FrontLifeSaturdayMagazineCuttings = front( "Cuttings", collection("Cuttings").printSentAnyTag("theguardian/saturday/cuttings"), @@ -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"), @@ -263,7 +263,7 @@ object DailyEdition extends RegionalEdition { collection("Culture").hide ) .swatch(Culture) - + def FrontCultureSaturdayMagazineBooks = front( "Books", collection("Books"), @@ -297,7 +297,7 @@ object DailyEdition extends RegionalEdition { collection("Critics").hide ) .swatch(Culture) - + def FrontBooks = front( "Books", collection("Books").printSentAnyTag("theobserver/new-review/books"), @@ -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)