Move reports to separate controller

This commit is contained in:
Stella Rouzi 2017-03-03 15:45:06 +02:00
parent a325eccc77
commit 5e9bc683ae
9 changed files with 175 additions and 15 deletions

View file

@ -0,0 +1,20 @@
.row
.col-md-12
.page-header
%h1
Events without commercials
= "(#{@events_missing_commercial.length})"
%p.text-muted
All submissions that have no commercial
.col-md-12
%table.table.table-striped.table-bordered.table-hover.datatable
%thead
%th ID
%th Title
%th Speaker(s)
%tbody
- @events_missing_commercial.each do |event|
%tr
%td= event.id
%td= link_to event.title, edit_admin_conference_program_event_path(@conference.short_title, event)
%td #{event.speaker_names}