app/views/report/_role_list.html.haml
#menu_roles_div
- if @sb[:active_accord] == :roles
- if @menu_roles_tree
= render :partial => "layouts/flash_msg"
.col-sm-5
%h3
= _("Reports")
= render(:partial => "shared/tree", :locals => {:tree => @menu_roles_tree, :name => @menu_roles_tree.name})
= render :partial => "report/menu_form1", :locals => {:folders => @grid_folders}
= render :partial => "report/menu_form2"
- elsif @sb[:menu]
= render :partial => "layouts/flash_msg"
- if @sb[:menu].empty?
= render :partial => 'layouts/info_msg', :locals => {:message => _("No Saved Reports available.")}
- else
= react('RoleList', {:roles => @sb[:menu] && @sb[:menu].invert, :treeBox => @sb[:active_tree]})
- else
= render :partial => 'layouts/info_msg', :locals => {:message => _("Choose a Role to edit from the left.")}