Skip to content

Commit

Permalink
add banner asset and FrontEmailMetadata
Browse files Browse the repository at this point in the history
  • Loading branch information
dblatcher committed Sep 25, 2023
1 parent b20a150 commit d9a9351
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions common/app/model/EmailAddons.scala
Original file line number Diff line number Diff line change
Expand Up @@ -474,6 +474,11 @@ case object MovingTheGoalposts extends ArticleEmailMetadata {
c.item.tags.series.exists(_.id == "football/series/moving-the-goalposts")
}

case object HeadlinesEur extends FrontEmailMetadata {
val name = "Headlines EUR"
override val banner = Some("headlines-eur.png")
}

object EmailAddons {
val unsubscribePlaceholder = "%%unsub_center_url%%"

Expand Down Expand Up @@ -563,6 +568,7 @@ object EmailAddons {
DesignReview,
Documentaries,
AustraliasModernOutback,
HeadlinesEur,
)

implicit class EmailContentType(p: Page) {
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit d9a9351

Please sign in to comment.