Sha256: 6495df48f65e929b15091491169834ea2d7ed18d6d4cac142b2232d00630e5bf
Contents?: true
Size: 1.54 KB
Versions: 8
Compression:
Stored size: 1.54 KB
Contents
<% if can? :admin, Spree::Order %> <ul class="nav nav-sidebar"> <%= tab *Spree::BackendConfiguration::ORDER_TABS, icon: 'shopping-cart' %> </ul> <% end %> <% if can?(:admin, Spree::ReturnAuthorization) || can?(:admin, Spree::CustomerReturn) %> <ul class="nav nav-sidebar"> <%= main_menu_tree Spree.t(:returns), icon: "transfer", sub_menu: "returns", url: "#sidebar-returns" %> </ul> <% end %> <% if can? :admin, Spree::Product %> <ul class="nav nav-sidebar"> <%= main_menu_tree Spree.t(:products), icon: "th-large", sub_menu: "product", url: "#sidebar-product" %> </ul> <% end %> <% if can? :admin, Spree::Admin::ReportsController %> <ul class="nav nav-sidebar"> <%= tab *Spree::BackendConfiguration::REPORT_TABS, icon: 'file' %> </ul> <% end %> <% if can? :admin, Spree::Promotion %> <ul class="nav nav-sidebar"> <%= main_menu_tree Spree.t(:promotions), icon: "gift", sub_menu: "promotion", url: "#sidebar-promotions" %> </ul> <% end %> <% if Spree.user_class && can?(:admin, Spree.user_class) %> <ul class="nav nav-sidebar"> <%= tab *Spree::BackendConfiguration::USER_TABS, url: spree.admin_users_path, icon: 'user' %> </ul> <% end %> <% if can? :admin, current_store %> <ul class="nav nav-sidebar"> <%= main_menu_tree Spree.t(:configurations), icon: "wrench", sub_menu: "configuration", url: "#sidebar-configuration" %> </ul> <% end %> <% if can?(:admin, current_store) && Spree::Config[:admin_show_version] %> <div class="spree-version hidden-xs hidden-sm"> <%= Spree.version %> </div> <% end %>
Version data entries
8 entries across 8 versions & 1 rubygems