clarion/app/views/management/events/index.html.slim
2014-10-12 15:32:23 +03:00

23 lines
978 B
Plaintext

.row
.panel.panel-primary
.panel-heading
h3.panel-title
= Event.model_name.human(count: 2)
span.pull-right
= t(:suggestion_and_speaker_count, suggestions: @suggestion_groups.map(&:suggestions).flatten.count, speakers: @suggestion_groups.count)
table.record-table
thead
tr
th.picture = Event.human_attribute_name(:user)
th = Event.human_attribute_name(:title)
th = Event.human_attribute_name(:language)
th = Track.model_name.human
th = Event.human_attribute_name(:type)
th.actions
tbody
= render partial: 'suggestion_group', collection: @suggestion_groups
.panel-footer
.pull-right
= link_to 'Изпрати нотификации на одобрените', send_acceptance_notifications_management_events_path, remote: true, method: :post, data: {confirm: 'Сигурни ли сте'}, class: %w{btn btn-danger}
.clearfix