2014-09-30 13:34:09 +03:00
|
|
|
- suggestion_group.suggestions.each_with_index do |suggestion, index|
|
|
|
|
tr
|
|
|
|
- if index == 0
|
|
|
|
td.picture rowspan="#{suggestion_group.suggestions.count}"
|
|
|
|
- if suggestion_group.speaker.speaker_profile.present?
|
|
|
|
= link_to management_user_path(suggestion_group.speaker), remote: true
|
|
|
|
= image_tag suggestion_group.speaker.speaker_profile.picture.thumb.url, class: 'img-thumbnail'
|
|
|
|
br
|
|
|
|
= suggestion_group.speaker.speaker_profile.name
|
|
|
|
- else
|
|
|
|
.picture-placeholder
|
|
|
|
= glyph(:user)
|
|
|
|
= suggestion_group.speaker.email
|
|
|
|
|
|
|
|
td
|
|
|
|
span.title
|
2014-10-12 15:38:15 +03:00
|
|
|
= link_to management_event_path(suggestion), title: t(:view), remote: true, class: "#{'text-success' if suggestion.confirmed?}"
|
2014-09-30 13:34:09 +03:00
|
|
|
= suggestion.title
|
|
|
|
br
|
|
|
|
span.subtitle
|
|
|
|
= suggestion.subtitle
|
2014-09-30 14:46:36 +03:00
|
|
|
td = suggestion.language
|
2014-09-30 13:34:09 +03:00
|
|
|
td = suggestion.track.name
|
|
|
|
td = suggestion.class.model_name.human
|
|
|
|
td.actions
|
|
|
|
div
|
|
|
|
= link_to management_event_path(suggestion), title: t(:view), remote: true
|
|
|
|
= glyph(:share)
|
2014-10-10 19:10:34 +03:00
|
|
|
= render partial: 'state', locals: {suggestion: suggestion}
|