Merged Mythic's changes.
Some checks are pending
Specs / linters (push) Waiting to run
Specs / spec (push) Blocked by required conditions
Specs / spec-1 (push) Blocked by required conditions
Specs / spec-2 (push) Blocked by required conditions
Specs / spec-3 (push) Blocked by required conditions
Specs / spec-4 (push) Blocked by required conditions
Some checks are pending
Specs / linters (push) Waiting to run
Specs / spec (push) Blocked by required conditions
Specs / spec-1 (push) Blocked by required conditions
Specs / spec-2 (push) Blocked by required conditions
Specs / spec-3 (push) Blocked by required conditions
Specs / spec-4 (push) Blocked by required conditions
This commit is contained in:
parent
ef82ef8941
commit
68c5f5e32b
27 changed files with 24 additions and 31 deletions
|
|
@ -37,7 +37,7 @@
|
|||
= f.select :language, @program.languages_list, { include_blank: false}, { class: 'select-help-toggle form-control' }
|
||||
- if display_details
|
||||
- if @conference.program.difficulty_levels.any?
|
||||
= f.label :difficulty_level
|
||||
= f.label :difficulty_level, 'Audience'
|
||||
= f.select :difficulty_level_id, @conference.program.difficulty_levels.map{|level| [level.title, level.id ] }, {include_blank: false}, { class: 'select-help-toggle form-control' }
|
||||
= render 'shared/select_help_text', f: f, for: :difficulty_level_id, options: @conference.program.difficulty_levels do |difficulty_level|
|
||||
= difficulty_level.description
|
||||
|
|
|
|||
|
|
@ -27,4 +27,4 @@
|
|||
= link_to 'Add a track', edit_conference_program_proposal_path(event.program.conference.short_title, event)
|
||||
%li{'class'=>class_for_todo(progress_status['difficulty_level'])}
|
||||
%span{'class'=>icon_for_todo(progress_status['difficulty_level'])}
|
||||
= link_to 'Add a difficulty level', edit_conference_program_proposal_path(event.program.conference.short_title, event)
|
||||
= link_to 'Add an Audience', edit_conference_program_proposal_path(event.program.conference.short_title, event)
|
||||
|
|
|
|||
|
|
@ -73,7 +73,7 @@
|
|||
%dl#proposal-info
|
||||
.col-md-12
|
||||
%dt Date:
|
||||
%dd= @event_schedule.start_time.strftime("%Y %B %e - %H:%M") if @event_schedule
|
||||
%dd= @event_schedule.start_time.strftime("%Y %B %e - %-I:%M %p") if @event_schedule
|
||||
.col-md-12
|
||||
%dt Duration:
|
||||
%dd= show_time(@event.event_type.length)
|
||||
|
|
@ -95,7 +95,7 @@
|
|||
%span.label{style: "background-color: #{@event.track.color}; color: #{ contrast_color(@event.track.color) }"}
|
||||
= @event.track.name
|
||||
.col-md-12
|
||||
%dt Difficulty:
|
||||
%dt Audience:
|
||||
%dd
|
||||
- if @event.difficulty_level
|
||||
%span.label{style: "background-color: #{@event.difficulty_level.color}; color: #{ contrast_color(@event.difficulty_level.color) };"}
|
||||
|
|
@ -118,7 +118,7 @@
|
|||
%dl
|
||||
%dt Start Time:
|
||||
%dd
|
||||
= event.program.selected_event_schedules.find { |es| es.event == event }.start_time.strftime("%Y %B %e %H:%M")
|
||||
= event.program.selected_event_schedules.find { |es| es.event == event }.start_time.strftime("%Y %B %e %-I:%M %p")
|
||||
%br
|
||||
%dt Room:
|
||||
%dd
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue