[feat]Display happening now only if program is also displayed

This commit is contained in:
Jimmy 2021-04-10 00:44:42 +08:00 committed by CactusPuppy
parent 497818cc45
commit fec78dccce
No known key found for this signature in database
GPG key ID: 4B33B0A3E15E2C82
5 changed files with 15 additions and 16 deletions

View file

@ -27,6 +27,9 @@
%li
%i{ class: "fa-li #{icon_for_todo @splashpage.include_booths?}" }
Include confirmed #{(t'booth').pluralize}
%li
%i{ class: "fa-li #{icon_for_todo @splashpage.include_happening_now?}" }
Include events happening now
%li
%i{ class: "fa-li #{icon_for_todo @splashpage.include_registrations?}" }
Display the registration period
@ -45,9 +48,6 @@
%li
%i{ class: "fa-li #{icon_for_todo @splashpage.include_social_media?}" }
Display social media links
%li
%i{ class: "fa-li #{icon_for_todo @splashpage.include_happening_now?}" }
Display events happening now
%li
- if @conference.splashpage && @conference.splashpage.public
%i{ class: "fa-li #{icon_for_todo @splashpage.public?}" }