Skip to content

Commit

Permalink
Merge pull request #14925 from fitztrev/event-countdown-pagelet
Browse files Browse the repository at this point in the history
Move event countdown to pagelets
  • Loading branch information
ornicar committed Mar 19, 2024
2 parents e7ac31f + 6660aff commit a483e55
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion app/views/event.scala
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ object event:
views.html.base.layout(
title = e.title,
moreCss = cssTag("event"),
moreJs = jsModule("event.countdown")
moreJs = jsModule("eventCountdown")
):
main(cls := "page-small event box box-pad")(
boxTop(
Expand Down
3 changes: 2 additions & 1 deletion ui/pagelets/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,8 @@
"src/relayForm.ts": "relayForm",
"src/diagnostic.ts": "diagnosticDialog",
"src/crop.ts": "cropDialog",
"src/cms.ts": "cms"
"src/cms.ts": "cms",
"src/eventCountdown.ts": "eventCountdown"
}
},
"copy": [
Expand Down
File renamed without changes.
3 changes: 1 addition & 2 deletions ui/site/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,7 @@
"src/tvEmbed.ts": "tvEmbed",
"src/puzzleEmbed.ts": "puzzle.embed",
"src/lpvEmbed.ts": "lpv.embed",
"src/devMode.ts": "devMode",
"src/eventCountdown.ts": "event.countdown"
"src/devMode.ts": "devMode"
}
},
"copy": [
Expand Down

0 comments on commit a483e55

Please sign in to comment.