diff --git a/app/views/management/events/_event.slim b/app/views/management/events/_event.slim index 144b08c..643c197 100644 --- a/app/views/management/events/_event.slim +++ b/app/views/management/events/_event.slim @@ -6,6 +6,8 @@ tr - if event.subtitle.present? dt = Event.human_attribute_name :subtitle dd = event.subtitle + dt.visible-sm.visible-xs = Event.human_attribute_name :participants + dd.visible-sm.visible-xs = participant_names_or_emails(event).join(', ') dt = EventType.model_name.human.mb_chars.titleize dd = event.event_type.name dt = Event.human_attribute_name :track @@ -13,7 +15,7 @@ tr dt = Event.human_attribute_name :language dd = t("locales.#{event.language}") - td + td.visible-md.visible-lg.visible-xl = participant_names_or_emails(event).join(', ') td.action .dropdown diff --git a/app/views/management/events/index.html.slim b/app/views/management/events/index.html.slim index a78a39f..4aecec5 100644 --- a/app/views/management/events/index.html.slim +++ b/app/views/management/events/index.html.slim @@ -74,9 +74,12 @@ thead tr th = Event.model_name.human.mb_chars.titleize - th = Event.human_attribute_name(:user) + th.visible-md.visible-lg.visible-xl = Event.human_attribute_name(:participants) th.action = Event.human_attribute_name(:status) th.actions tbody = render(partial: 'event', collection: @events) || render(partial: 'no_records') + .panel-footer.text-right + = link_to management_conference_events_path(current_conference, filters: @filters, format: 'csv'), class: 'btn btn-info' + = icon :download, t('.export')