exporting events to pdf, excel, and csv format
This commit is contained in:
parent
7cc2609662
commit
3da3fcccbb
6 changed files with 139 additions and 4 deletions
|
|
@ -3,8 +3,12 @@
|
|||
.page-header
|
||||
%h1
|
||||
Events
|
||||
- if @events.any?
|
||||
= "(#{@events.length})"
|
||||
= "(#{@events.length})" if @events.any?
|
||||
.btn-group.pull-right
|
||||
- if can? :read, Event
|
||||
= link_to 'Export CSV', admin_conference_program_events_path(@conference.short_title, format: :csv), class: 'btn btn-success'
|
||||
= link_to 'Export PDF', admin_conference_program_events_path(@conference.short_title, format: :pdf), class: 'btn btn-success'
|
||||
= link_to 'Export XLS', admin_conference_program_events_path(@conference.short_title, format: :xlsx), class: 'btn btn-success'
|
||||
%p.text-muted
|
||||
All the submissions of your speakers
|
||||
.row
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue