Sha256: 7e4d5352925b793de09ef939bdee15338254f3db51888fd84bf144b44acce09b
Contents?: true
Size: 1.37 KB
Versions: 58
Compression:
Stored size: 1.37 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 %>
Version data entries
58 entries across 58 versions & 1 rubygems