Improving surveys system: showing surveys in admin UI as they will be for the user

This commit is contained in:
mdeniz 2016-06-29 17:23:01 +02:00
parent 335608e6c4
commit 03168b4efe
15 changed files with 213 additions and 46 deletions

View file

@ -133,7 +133,7 @@
E-Mails
%li{ class: active_nav_li(admin_conference_surveys_path(@conference.short_title)) }
= link_to(admin_conference_surveys_path(@conference.short_title)) do
%span.fa.fa-group
%span.fa.fa-list-alt
Surveys
- if can? :index, Role.new(resource: @conference)
%li{:class=> active_nav_li(admin_conference_roles_path(@conference.short_title))}