2015-10-15 19:06:41 +03:00
|
|
|
tr
|
|
|
|
td
|
2016-10-08 19:29:08 +03:00
|
|
|
dl.dl-horizontal
|
|
|
|
dt = Event.human_attribute_name :title
|
|
|
|
dd = event.title
|
|
|
|
- if event.subtitle.present?
|
|
|
|
dt = Event.human_attribute_name :subtitle
|
|
|
|
dd = event.subtitle
|
2016-10-08 21:19:42 +03:00
|
|
|
dt.visible-sm.visible-xs = Event.human_attribute_name :participants
|
|
|
|
dd.visible-sm.visible-xs = participant_names_or_emails(event).join(', ')
|
2016-10-08 19:29:08 +03:00
|
|
|
dt = EventType.model_name.human.mb_chars.titleize
|
|
|
|
dd = event.event_type.name
|
|
|
|
dt = Event.human_attribute_name :track
|
|
|
|
dd = event.track.name
|
|
|
|
dt = Event.human_attribute_name :language
|
|
|
|
dd = t("locales.#{event.language}")
|
|
|
|
|
2016-10-08 21:19:42 +03:00
|
|
|
td.visible-md.visible-lg.visible-xl
|
2015-10-15 19:06:41 +03:00
|
|
|
= participant_names_or_emails(event).join(', ')
|
|
|
|
td.action
|
|
|
|
.dropdown
|
|
|
|
button class="btn btn-sm dropdown-toggle btn-#{proposition_status_class(event.status)}" type="button" data-toggle="dropdown" title="#{t "status.#{event.status}"}"
|
|
|
|
= icon(proposition_status_glyph(event.status))
|
|
|
|
span.caret<
|
|
|
|
ul.dropdown-menu
|
|
|
|
- Proposition.statuses.each do |(status, _)|
|
|
|
|
- next if status == event.status
|
|
|
|
li
|
|
|
|
= link_to [:management, @conference, event.proposition, proposition: {status: status}], method: :patch do
|
|
|
|
= proposition_status_icon(status)
|
|
|
|
=< t "status.#{status}"
|
|
|
|
td.actions
|
|
|
|
.btn-group.btn-group-sm
|
|
|
|
= action_buttons(@conference, event, [:show, :edit])
|