Fix linters
This commit is contained in:
parent
157924803c
commit
536ec5b68a
18 changed files with 128 additions and 140 deletions
|
|
@ -16,7 +16,7 @@
|
|||
That means you have
|
||||
%b.notranslate= pluralize(@program.cfp.remaining_days, 'day')
|
||||
left!
|
||||
%span.notranslate #{@conference.title}
|
||||
%span.notranslate= @conference.title
|
||||
will only be as good as the content you present. Submit early, submit often!
|
||||
- else
|
||||
The submission period is closed now.
|
||||
|
|
|
|||
|
|
@ -1,13 +1,13 @@
|
|||
.speakerinfo
|
||||
.row
|
||||
.col-md-4
|
||||
= image_tag speaker.profile_picture(:size => 120), class: 'img-responsive img-rounded'
|
||||
= image_tag speaker.profile_picture(size: 120), class: 'img-responsive img-rounded'
|
||||
.col-md-8
|
||||
%h4
|
||||
= link_to speaker.name, user_path(speaker.id)
|
||||
%br
|
||||
- if speaker.email_public?
|
||||
= mail_to "#{ speaker.email }" do
|
||||
= mail_to speaker.email.to_s do
|
||||
%i.fa.fa-envelope-o.fa-2x
|
||||
- if speaker.affiliation?
|
||||
.text-muted
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
.speakerinfo
|
||||
.row
|
||||
.col-md-4
|
||||
= image_tag speaker.profile_picture(:size => 120), class: 'img-responsive img-rounded'
|
||||
= image_tag speaker.profile_picture(size: 120), class: 'img-responsive img-rounded'
|
||||
.col-md-8
|
||||
%h4
|
||||
= link_to speaker.name, user_path(speaker.id)
|
||||
|
|
|
|||
|
|
@ -1,8 +1,8 @@
|
|||
%table.table.table-striped#events
|
||||
- events.each do |event|
|
||||
%tr
|
||||
%td.col-md-7{style: "padding:20px 8px 20px 8px;"}
|
||||
= link_to event.title, conference_program_proposal_path(@conference.short_title, event.id)
|
||||
%td.col-md-7{ style: 'padding:20px 8px 20px 8px;' }
|
||||
= link_to event.title, conference_program_proposal_path(conference.short_title, event.id)
|
||||
%br
|
||||
%small.text-muted
|
||||
= event.event_type.title
|
||||
|
|
@ -10,10 +10,11 @@
|
|||
= "in #{event.track.name}" if event.track
|
||||
- if event.require_registration
|
||||
%br
|
||||
= link_to registered_text(event), registrations_conference_program_proposal_path(@conference.short_title, event), class: 'btn btn-xs btn-danger'
|
||||
= link_to registered_text(event), registrations_conference_program_proposal_path(conference.short_title, event),
|
||||
class: 'btn btn-xs btn-danger'
|
||||
|
||||
%td.col-md-2{style: "padding:20px 8px 20px 8px;"}
|
||||
- event_schedule = event.event_schedules.find_by(schedule_id: @program.selected_schedule_id)
|
||||
%td.col-md-2{ style: 'padding:20px 8px 20px 8px;' }
|
||||
- event_schedule = event.event_schedules.find_by(schedule_id: program.selected_schedule_id)
|
||||
- if event_schedule.present?
|
||||
= inyourtz(event_schedule.start_time, @conference.timezone) do
|
||||
= event_schedule.start_time.strftime("%Y %B %e - %H:%M")
|
||||
= inyourtz(event_schedule.start_time, conference.timezone) do
|
||||
= event_schedule.start_time.strftime('%Y %B %e - %H:%M')
|
||||
|
|
|
|||
|
|
@ -121,7 +121,7 @@
|
|||
Volunteer Duties
|
||||
%small
|
||||
Thanks for being a host at #{@conference.title}
|
||||
= render 'volunteers_table', events: @volunteer_events
|
||||
= render 'volunteers_table', events: @volunteer_events, conference: @conference, program: @program
|
||||
|
||||
.row
|
||||
.col-md-12
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue