2014-10-15 01:07:40 +03:00
|
|
|
- content_for :title
|
2016-10-09 00:23:17 +03:00
|
|
|
= t '.summary'
|
|
|
|
|
2014-10-15 01:07:40 +03:00
|
|
|
.row
|
|
|
|
.col-lg-12
|
|
|
|
h1.page-header
|
|
|
|
= @conference.title
|
2016-07-05 18:03:48 +03:00
|
|
|
.pull-right
|
2016-07-05 18:13:34 +03:00
|
|
|
.small
|
|
|
|
=> t '.cfp_status'
|
|
|
|
- if @conference.call_for_participation.in_progress?
|
|
|
|
= link_to management_conference_call_for_participation_path(@conference), method: :delete, class: 'btn btn-sm btn-success cfp-toggle'
|
|
|
|
= icon 'dot-circle-o', '', class: 'fa-fw'
|
|
|
|
- else
|
|
|
|
= link_to management_conference_call_for_participation_path(@conference), method: :post, class: 'btn btn-sm btn-warning cfp-toggle'
|
|
|
|
= icon 'circle-o', class: 'fa-fw'
|
2014-10-15 01:07:40 +03:00
|
|
|
.row
|
|
|
|
.col-lg-3.col-md-6
|
|
|
|
.panel.panel-primary
|
|
|
|
.panel-heading
|
|
|
|
.row
|
|
|
|
.col-xs-3
|
2015-04-09 00:10:04 +03:00
|
|
|
= icon 'files-o', '', class: 'fa-5x'
|
2014-10-15 01:07:40 +03:00
|
|
|
.col-xs-9.text-right
|
|
|
|
.huge
|
|
|
|
= @conference.events.count
|
|
|
|
div
|
|
|
|
= t Event.model_name.human(count: @conference.events.count)
|
2015-05-30 17:07:57 +03:00
|
|
|
|
2015-07-19 11:44:44 +03:00
|
|
|
= link_to [:management, @conference, :events] do
|
2014-10-15 01:07:40 +03:00
|
|
|
.panel-footer.text-primary
|
|
|
|
span.pull-left = t 'views.conference.see_details'
|
2015-04-09 00:10:04 +03:00
|
|
|
span.pull-right = icon 'arrow-circle-right'
|
2014-10-15 01:07:40 +03:00
|
|
|
span.clearfix
|
2015-05-30 17:07:57 +03:00
|
|
|
|
2014-10-15 01:07:40 +03:00
|
|
|
.col-lg-3.col-md-6
|
|
|
|
.panel.panel-danger
|
|
|
|
.panel-heading
|
|
|
|
.row
|
|
|
|
.col-xs-3
|
2015-04-09 00:10:04 +03:00
|
|
|
= icon 'thumbs-down', '', class: 'fa-5x'
|
2014-10-15 01:07:40 +03:00
|
|
|
.col-xs-9.text-right
|
|
|
|
.huge
|
2015-10-22 00:04:38 +03:00
|
|
|
= @conference.events.joins(:proposition).rejected.count
|
2014-10-15 01:07:40 +03:00
|
|
|
div
|
2015-10-22 00:04:38 +03:00
|
|
|
= t 'event_states.rejected', count: @conference.events.joins(:proposition).rejected.count
|
2015-07-19 11:44:44 +03:00
|
|
|
= link_to [:management, @conference, :events, {status: :rejected}]
|
2014-10-15 01:07:40 +03:00
|
|
|
.panel-footer.text-danger
|
|
|
|
span.pull-left = t 'views.conference.see_details'
|
2015-04-09 00:10:04 +03:00
|
|
|
span.pull-right = icon 'arrow-circle-right'
|
2014-10-15 01:07:40 +03:00
|
|
|
span.clearfix
|
2015-05-30 17:07:57 +03:00
|
|
|
|
2014-10-15 01:07:40 +03:00
|
|
|
.col-lg-3.col-md-6
|
|
|
|
.panel.panel-info
|
|
|
|
.panel-heading
|
|
|
|
.row
|
|
|
|
.col-xs-3
|
2015-04-09 00:10:04 +03:00
|
|
|
= icon 'thumbs-up', class: 'fa-5x'
|
2014-10-15 01:07:40 +03:00
|
|
|
.col-xs-9.text-right
|
|
|
|
.huge
|
2015-10-22 00:04:38 +03:00
|
|
|
= @conference.events.joins(:proposition).approved.count
|
2014-10-15 01:07:40 +03:00
|
|
|
div
|
2015-10-22 00:04:38 +03:00
|
|
|
= t 'event_states.approved', count: @conference.events.joins(:proposition).approved.count
|
2015-07-19 11:44:44 +03:00
|
|
|
= link_to [:management, @conference, :events, {status: :approved}]
|
2014-10-15 01:07:40 +03:00
|
|
|
.panel-footer.text-info
|
|
|
|
span.pull-left = t 'views.conference.see_details'
|
2015-04-09 00:10:04 +03:00
|
|
|
span.pull-right = icon 'arrow-circle-right'
|
2014-10-15 01:07:40 +03:00
|
|
|
span.clearfix
|
|
|
|
.col-lg-3.col-md-6
|
|
|
|
.panel.panel-success
|
|
|
|
.panel-heading
|
|
|
|
.row
|
|
|
|
.col-xs-3
|
2015-04-09 00:10:04 +03:00
|
|
|
= icon 'check', '', class: 'fa-5x'
|
2014-10-15 01:07:40 +03:00
|
|
|
.col-xs-9.text-right
|
|
|
|
.huge
|
2015-10-22 00:04:38 +03:00
|
|
|
= @conference.events.joins(:proposition).approved.confirmed.count
|
2014-10-15 01:07:40 +03:00
|
|
|
div
|
2015-10-22 00:04:38 +03:00
|
|
|
= t 'event_states.confirmed', count: @conference.events.joins(:proposition).approved.confirmed.count
|
2015-07-19 11:44:44 +03:00
|
|
|
= link_to [:management, @conference, :events, {status: :approved, confirmed: true}]
|
2014-10-15 01:07:40 +03:00
|
|
|
.panel-footer.text-success
|
|
|
|
span.pull-left = t 'views.conference.see_details'
|
2015-04-09 00:10:04 +03:00
|
|
|
span.pull-right = icon 'arrow-circle-right'
|
2014-10-15 01:07:40 +03:00
|
|
|
span.clearfix
|
2014-10-15 12:58:00 +03:00
|
|
|
.row
|
|
|
|
.col-lg-12
|
2015-04-20 19:11:39 +03:00
|
|
|
.submissions-chart#submissions-chart data-submissions="#{submissions_chart_data(@conference).to_json}"
|