Sha256: a1fc99fd442cbdf8f453934ab61e1b0386783154858033083775d6edd929a585
Contents?: true
Size: 1.1 KB
Versions: 29
Compression:
Stored size: 1.1 KB
Contents
<% content_for :menu do -%> <%= nav do %> <%= nav_item t('fullstack.admin.dashboard', :default => "Dashboard"), admin_root_path, :icon => "cog" %> <% end %> <%= nav(:class => 'float right') do %> <%= nav_item t('fullstack.admin.homepage', :default => "Homepage"), "/", :icon => "home" %> <%= dropdown_nav_item t('fullstack.admin.account', :default => "Account"), :icon => "user" do %> <%= nav_item t('fullstack.admin.logout', :default => "Logout"), destroy_user_session_path, :method => :delete %> <% end %> <% end %> <% end -%> <% content_for :nav do -%> <div class="tabbable tabs-left float right"> <%= nav_list :class => "nav-tabs" do %> <% Fullstack::Admin.resources.each do |rog| %> <% if rog.type == :group %> <%= nav_header t("fullstack.admin.groups.#{rog.name}", :default => rog.name.to_s.humanize) %> <% elsif rog.type == :resource %> <%= nav_item t("fullstack.admin.resources.#{rog.name}", :default => rog.name.to_s.humanize), [:admin, rog.name] %> <% end %> <% end %> <% end %> </div> <% end -%>
Version data entries
29 entries across 29 versions & 1 rubygems