Commit graph

10 commits

Author SHA1 Message Date
Tom Hughes
29c51d7915 Allow banners to have a start date as well as an end date 2023-09-19 09:33:03 +01:00
Andy Allan
37b03e47c6 Fix various code comments
These were found as part of #3233
2021-07-21 11:24:23 +01:00
Tom Hughes
de29e9b3f5 Fix Style/NumericPredicate rubocop warnings 2018-09-22 17:34:58 +01:00
Tom Hughes
8dae890a76 Fix rubocop warnings 2017-10-05 19:18:38 +01:00
Bryan Housel
1b1693b8fe Prioritize next upcoming event in banner rotation
(closes #1284)
2016-09-14 15:03:41 -04:00
Tom Hughes
49edb79711 Rename cookie_id to banner_cookie 2016-06-23 09:04:07 +01:00
Bryan Housel
2ada0591b8 Pacify rubocop 2016-06-22 14:05:13 -04:00
Bryan Housel
9e3dc420f3 Load banner config from config/banners.yml 2016-06-22 13:37:57 -04:00
Bryan Housel
3e82a36743 Add end dates to banners 2016-06-22 13:08:27 -04:00
Bryan Housel
e14ec1547e Refactor banner logic into BannerHelper module 2016-06-22 08:19:13 -04:00