Sha256: d1df2ee61bdb362900a44af512cbe4261ac968fa3b8e8a97e6facfb3429c00a9
Contents?: true
Size: 966 Bytes
Versions: 2
Compression:
Stored size: 966 Bytes
Contents
<!-- Side menu --> <div class="sidebar-nav nav-collapse collapse" id="sidebar-navigation"> <div class="user_side clearfix"> <h5> <%= current_user.name.humanize %> </h5> <%= link_to( "#{current_user.group.name}", "#" ) %> </div> <div class="accordion" id="accordion2"> <% Adminpanel.displayable_resources.each do |resource| %> <% resource_class = symbol_class(resource) %> <% if can? :read, resource_class %> <div class="accordion-group"> <div class="accordion-heading"> <%= link_to( content_tag( :i, nil, class:"fa fa-#{resource_class.icon}" ) + content_tag(:span," " + resource_class.display_name.pluralize(I18n.default_locale)), [route_symbol(resource.to_s)], :class => "accordion-toggle b_99FFCC #{is_current_section?(resource_class.display_name)}" ) %> </div> </div> <% end %> <% end %> </div> </div> <!-- /Side menu -->
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
adminpanel-2.0.1 | app/views/layouts/_side_menu.html.erb |
adminpanel-2.0.0 | app/views/layouts/_side_menu.html.erb |