Sha256: 7b48c98498f899f33e49c968e1d539474f7e391422df7fe6816d5d2c9c8fe8b5

Contents?: true

Size: 565 Bytes

Versions: 6

Compression:

Stored size: 565 Bytes

Contents

<%
	super_admin_items = {
		features: {
			text: "Features",
			icon_class: "fa-diamond",
			url: usman.features_url,
			has_permission: @current_user.has_read_permission?(Feature)
		}
	}
%>

<% if (super_admin_items.map{|x, y| y[:has_permission] }).compact.uniq.any? %>

<h3 class="text-gray mt-50 mb-10">
	Configurations <br>
	<small class="text-muted">Configure Features & Other Settings </small>
</h3>
<hr class="mb-30" style="border-top:1px solid #ddd;">

<%= render partial: "/layouts/dashboard/xenon/items", locals: { items: super_admin_items } %>

<% end %>

Version data entries

6 entries across 6 versions & 2 rubygems

Version Path
usman-0.4.10.pre.materialize app/views/usman/dashboard/xenon/_super_admin_index.html.erb
dhatu-0.3.9.pre.materialize app/views/usman/dashboard/_super_admin_index.html.erb
usman-0.4.9.pre.materialize app/views/usman/dashboard/xenon/_super_admin_index.html.erb
dhatu-0.3.8.pre.materialize app/views/usman/dashboard/_super_admin_index.html.erb
dhatu-0.3.7.pre.materialize app/views/usman/dashboard/_super_admin_index.html.erb
usman-0.4.8.pre.materialize app/views/usman/dashboard/xenon/_super_admin_index.html.erb