From c5c240888c1fcd900b8fda75c0fc17c4d2460937 Mon Sep 17 00:00:00 2001 From: Stella Date: Fri, 2 May 2014 21:58:55 +0300 Subject: [PATCH] Add details of proposal in show page --- app/views/proposal/show.html.haml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/app/views/proposal/show.html.haml b/app/views/proposal/show.html.haml index 82689111..c5d45738 100644 --- a/app/views/proposal/show.html.haml +++ b/app/views/proposal/show.html.haml @@ -16,6 +16,12 @@ %dl %dt Date: %dd= @event.start_time.strftime("%Y %B %e %H:%M") if @event.start_time + %dt Duration: + %dd= show_time(@event.event_type.length) + %dt Room: + %dd + - if @event.room_id + = @event.room.name %dt Conference: %dd= @event.conference.title %dt Language: @@ -25,6 +31,11 @@ - if @event.track_id %span.label{:style =>"background-color: #{@event.track.color};"} = @event.track.name + %dt Difficulty: + %dd + - if @event.difficulty_level_id + %span.label{:style =>"background-color: #{@event.difficulty_level.color};"} + = @event.difficulty_level.title .col-md-9 .row .col-md-12