Merge pull request #1169 from nishanthvijayan/reports

Add new page with organizer reports
This commit is contained in:
Stella Rouzi 2017-01-15 12:28:38 +02:00 committed by GitHub
commit 46101228e7
4 changed files with 143 additions and 1 deletions

View file

@ -84,6 +84,9 @@
- if can? :update, @conference.program.schedules.build
%li{class: active_nav_li(admin_conference_schedules_path(@conference.short_title))}
= link_to 'Schedules', admin_conference_schedules_path(@conference.short_title)
- if can? :update, @conference.program.events.build
%li{:class=> active_nav_li(reports_admin_conference_program_path(@conference.short_title))}
= link_to 'Reports', reports_admin_conference_program_path(@conference.short_title)
- if can? :update, Registration.new(conference_id: @conference.id)
%li{:class=> active_nav_li(admin_conference_registrations_path(@conference.short_title))}