clarion/app/views/management/conferences/show.html.slim

75 lines
2.6 KiB
Plaintext
Raw Normal View History

2014-10-15 01:07:40 +03:00
- 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
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)
= link_to management_conference_events_path(@conference)
.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
.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
= @conference.events.rejected.count
div
= t 'event_states.rejected', count: @conference.events.rejected.count
= link_to management_conference_events_path(@conference, 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
.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
= @conference.events.approved.count
div
= t 'event_states.approved', count: @conference.events.approved.count
= link_to management_conference_events_path(@conference, 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
= @conference.events.approved.confirmed.count
div
= t 'event_states.confirmed', count: @conference.events.approved.confirmed.count
= link_to management_conference_events_path(@conference, 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}"