clarion/app/views/management/events/index.html.slim

23 lines
978 B
Plaintext
Raw Normal View History

.row
2014-09-30 13:47:17 +03:00
.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)
2014-09-30 13:47:17 +03:00
table.record-table
thead
tr
th.picture = Event.human_attribute_name(:user)
th = Event.human_attribute_name(:title)
th = Event.human_attribute_name(:language)
2014-09-30 13:47:17 +03:00
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