Sha256: 4992bb94181eb4a6816d25615bb414be7b598ff24e44dc8f89094fe3896e34a1

Contents?: true

Size: 942 Bytes

Versions: 2

Compression:

Stored size: 942 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 => resource_class.icon) +
								content_tag(:span," #{pluralize_es(resource_class.display_name)}"),
							[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-1.2.12 app/views/layouts/_side_menu.html.erb
adminpanel-1.2.11 app/views/layouts/_side_menu.html.erb