add event_type keynote
This commit is contained in:
parent
88f73bb6fc
commit
6a62e9f8b9
2 changed files with 3 additions and 3 deletions
|
|
@ -566,8 +566,8 @@ class Conference < ActiveRecord::Base
|
||||||
email_settings.updated_conference_registration_dates_template
|
email_settings.updated_conference_registration_dates_template
|
||||||
end
|
end
|
||||||
|
|
||||||
def keynote_speakers
|
def keynotes
|
||||||
User.with_role(:keynote_speaker, self)
|
events.where(state: 'confirmed').select { |e| e.event_type.title == 'Keynote'}
|
||||||
end
|
end
|
||||||
|
|
||||||
##
|
##
|
||||||
|
|
|
||||||
|
|
@ -24,9 +24,9 @@
|
||||||
= link_to(conference_schedule_path(@conference.short_title), class: 'btn btn-default btn-lg') do
|
= link_to(conference_schedule_path(@conference.short_title), class: 'btn btn-default btn-lg') do
|
||||||
Full Schedule
|
Full Schedule
|
||||||
|
|
||||||
|
|
||||||
%h3.text-center
|
%h3.text-center
|
||||||
Don't miss out!
|
Don't miss out!
|
||||||
|
%br
|
||||||
- if @conference.highlights.any?
|
- if @conference.highlights.any?
|
||||||
.row
|
.row
|
||||||
.col-md-12
|
.col-md-12
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue