c6750d3a1a
Would be more straightforward to work with, even if it's a bit more verbose sometimes.
78 lines
2.5 KiB
Plaintext
78 lines
2.5 KiB
Plaintext
- content_for :title
|
|
= @conference.title
|
|
.row
|
|
.col-lg-12
|
|
h1.page-header
|
|
= @conference.title
|
|
.row
|
|
.col-lg-3.col-md-6
|
|
.panel.panel-primary
|
|
.panel-heading
|
|
.row
|
|
.col-xs-3
|
|
= icon 'files-o', '', class: 'fa-5x'
|
|
.col-xs-9.text-right
|
|
.huge
|
|
= @conference.events.count
|
|
div
|
|
= t Event.model_name.human(count: @conference.events.count)
|
|
|
|
= link_to [:management, @conference, :events] do
|
|
.panel-footer.text-primary
|
|
span.pull-left = t 'views.conference.see_details'
|
|
span.pull-right = icon 'arrow-circle-right'
|
|
span.clearfix
|
|
|
|
.col-lg-3.col-md-6
|
|
.panel.panel-danger
|
|
.panel-heading
|
|
.row
|
|
.col-xs-3
|
|
= icon 'thumbs-down', '', class: 'fa-5x'
|
|
.col-xs-9.text-right
|
|
.huge
|
|
= @conference.events.rejected.count
|
|
div
|
|
= t 'event_states.rejected', count: @conference.events.rejected.count
|
|
= link_to [:management, @conference, :events, {status: :rejected}]
|
|
.panel-footer.text-danger
|
|
span.pull-left = t 'views.conference.see_details'
|
|
span.pull-right = icon 'arrow-circle-right'
|
|
span.clearfix
|
|
|
|
.col-lg-3.col-md-6
|
|
.panel.panel-info
|
|
.panel-heading
|
|
.row
|
|
.col-xs-3
|
|
= icon 'thumbs-up', class: 'fa-5x'
|
|
.col-xs-9.text-right
|
|
.huge
|
|
= @conference.events.approved.count
|
|
div
|
|
= t 'event_states.approved', count: @conference.events.approved.count
|
|
= link_to [:management, @conference, :events, {status: :approved}]
|
|
.panel-footer.text-info
|
|
span.pull-left = t 'views.conference.see_details'
|
|
span.pull-right = icon 'arrow-circle-right'
|
|
span.clearfix
|
|
.col-lg-3.col-md-6
|
|
.panel.panel-success
|
|
.panel-heading
|
|
.row
|
|
.col-xs-3
|
|
= icon 'check', '', class: 'fa-5x'
|
|
.col-xs-9.text-right
|
|
.huge
|
|
= @conference.events.approved.confirmed.count
|
|
div
|
|
= t 'event_states.confirmed', count: @conference.events.approved.confirmed.count
|
|
= link_to [:management, @conference, :events, {status: :approved, confirmed: true}]
|
|
.panel-footer.text-success
|
|
span.pull-left = t 'views.conference.see_details'
|
|
span.pull-right = icon 'arrow-circle-right'
|
|
span.clearfix
|
|
.row
|
|
.col-lg-12
|
|
.submissions-chart#submissions-chart data-submissions="#{submissions_chart_data(@conference).to_json}"
|