[feat]Display happening now only if program is also displayed
This commit is contained in:
parent
6c96328f46
commit
346f324bef
5 changed files with 15 additions and 16 deletions
|
|
@ -25,6 +25,8 @@
|
|||
= f.input :include_tracks, label: 'Include confirmed tracks', input_html: { checked: params[:action] == 'new' || @splashpage.try(:include_tracks) }
|
||||
%li
|
||||
= f.input :include_booths, label: "Include confirmed #{(t'booth').pluralize}", input_html: { checked: params[:action] == 'new' || @splashpage.try(:include_booths) }
|
||||
%li
|
||||
= f.input :include_happening_now, label: 'Include events happening now', input_html: { checked: params[:action] == 'new' || @splashpage.try(:include_happening_now) }
|
||||
|
||||
%li
|
||||
= f.input :include_registrations, label: 'Display the registration period', input_html: { checked: params[:action] == 'new' || @splashpage.try(:include_registrations) }
|
||||
|
|
@ -44,9 +46,6 @@
|
|||
%li
|
||||
= f.input :include_social_media, label: 'Display social media links', input_html: { checked: params[:action] == 'new' || @splashpage.try(:include_social_media) }
|
||||
|
||||
%li
|
||||
= f.input :include_happening_now, label: 'Display events happening now', input_html: { checked: params[:action] == 'new' || @splashpage.try(:include_happening_now) }
|
||||
|
||||
= f.inputs name: 'Access' do
|
||||
%ul.fa-ul
|
||||
%li
|
||||
|
|
|
|||
|
|
@ -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?}" }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue