2013-06-26 15:59:56 +02:00
|
|
|
.row
|
2014-03-17 16:36:32 +01:00
|
|
|
.col-md-12.page-header
|
2013-06-26 15:59:56 +02:00
|
|
|
%h2
|
|
|
|
|
= @event.title
|
|
|
|
|
- if @event.subtitle
|
|
|
|
|
%br
|
2014-03-17 16:36:32 +01:00
|
|
|
%small
|
2013-06-26 15:59:56 +02:00
|
|
|
= @event.subtitle
|
2014-05-02 21:40:42 +03:00
|
|
|
= link_to "Schedule", conference_schedule_path(@conference.short_title), :class =>"btn btn-success pull-right"
|
2014-08-12 11:51:59 +03:00
|
|
|
- if can? :edit, @event
|
2014-05-02 21:33:43 +03:00
|
|
|
= link_to "Edit", edit_admin_conference_event_path(@conference.short_title, @event), :class => "btn btn-mini btn-primary pull-right"
|
2014-03-17 16:36:32 +01:00
|
|
|
.row
|
|
|
|
|
.col-md-3
|
2013-06-26 15:59:56 +02:00
|
|
|
%p
|
|
|
|
|
= simple_format(@event.abstract)
|
|
|
|
|
%dl
|
|
|
|
|
%dt Date:
|
2013-06-26 18:17:03 +02:00
|
|
|
%dd= @event.start_time.strftime("%Y %B %e %H:%M") if @event.start_time
|
2014-05-02 21:58:55 +03:00
|
|
|
%dt Duration:
|
|
|
|
|
%dd= show_time(@event.event_type.length)
|
|
|
|
|
%dt Room:
|
|
|
|
|
%dd
|
|
|
|
|
- if @event.room_id
|
|
|
|
|
= @event.room.name
|
2013-06-26 15:59:56 +02:00
|
|
|
%dt Conference:
|
|
|
|
|
%dd= @event.conference.title
|
2013-06-26 18:17:03 +02:00
|
|
|
%dt Language:
|
|
|
|
|
%dd= @event.language if @event.language
|
|
|
|
|
%dt Track:
|
|
|
|
|
%dd
|
2013-06-26 18:24:59 +02:00
|
|
|
- if @event.track_id
|
2013-06-26 18:34:23 +02:00
|
|
|
%span.label{:style =>"background-color: #{@event.track.color};"}
|
2013-06-26 18:24:59 +02:00
|
|
|
= @event.track.name
|
2014-05-02 21:58:55 +03:00
|
|
|
%dt Difficulty:
|
|
|
|
|
%dd
|
|
|
|
|
- if @event.difficulty_level_id
|
|
|
|
|
%span.label{:style =>"background-color: #{@event.difficulty_level.color};"}
|
|
|
|
|
= @event.difficulty_level.title
|
2014-05-02 22:52:58 +03:00
|
|
|
- if @event.require_registration
|
2014-08-12 11:51:59 +03:00
|
|
|
= link_to "Registration required!", conference_register_path(@conference.short_title), :class => "btn btn-xs btn-warning"
|
2014-03-17 16:36:32 +01:00
|
|
|
.col-md-9
|
|
|
|
|
.row
|
2014-04-14 16:25:17 +02:00
|
|
|
.col-md-12
|
2014-08-05 18:23:42 +02:00
|
|
|
- if @event.commercials.empty?
|
2014-04-14 16:25:17 +02:00
|
|
|
%h5.text-warning
|
2014-04-14 16:39:45 +02:00
|
|
|
No video of the event yet, sorry!
|
2014-08-05 18:23:42 +02:00
|
|
|
- unless @conference.commercials.empty?
|
2014-04-14 16:39:45 +02:00
|
|
|
Meanwhile...
|
2014-08-05 18:23:42 +02:00
|
|
|
- unless @conference.commercials.empty?
|
|
|
|
|
= render partial: 'shared/media_items', locals: { commercials: @conference.commercials }
|
2014-04-14 16:25:17 +02:00
|
|
|
- else
|
2014-08-05 18:23:42 +02:00
|
|
|
%p
|
|
|
|
|
= render partial: 'shared/media_items', locals: { commercials: @event.commercials }
|
2014-03-17 16:36:32 +01:00
|
|
|
.row
|
2014-04-14 16:25:17 +02:00
|
|
|
.speakerinfo
|
|
|
|
|
.col-md-8
|
|
|
|
|
%h3
|
|
|
|
|
by
|
2014-06-23 19:07:50 +03:00
|
|
|
= @speaker.name
|
2014-05-02 22:52:11 +03:00
|
|
|
(
|
|
|
|
|
= @speaker.email
|
|
|
|
|
)
|
2014-06-23 19:07:50 +03:00
|
|
|
- if @speaker.affiliation?
|
2014-04-14 16:25:17 +02:00
|
|
|
%br
|
|
|
|
|
%span.muted
|
|
|
|
|
from
|
2014-06-23 19:07:50 +03:00
|
|
|
= @speaker.affiliation
|
2014-04-14 16:25:17 +02:00
|
|
|
-if @speaker.biography?
|
|
|
|
|
= simple_format(@speaker.biography)
|
|
|
|
|
.col-md-4
|
|
|
|
|
= image_tag @speaker.gravatar_url(:size => 200), :class => "img-responsive img-rounded"
|