mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-03-01 02:03:22 +00:00
Adding shop preferences pane, fiddling with icons
This commit is contained in:
@@ -6,16 +6,16 @@ angular.module("admin.enterprises")
|
||||
|
||||
$scope.menu.setItems [
|
||||
{ name: 'Primary Details', icon_class: "icon-user" }
|
||||
{ name: 'Address', icon_class: "icon-globe" }
|
||||
{ name: 'Address', icon_class: "icon-map-marker" }
|
||||
{ name: 'Contact', icon_class: "icon-phone" }
|
||||
{ name: 'Social', icon_class: "icon-twitter" }
|
||||
{ name: 'About', icon_class: "icon-pencil" }
|
||||
{ name: 'Business Details', icon_class: "icon-barcode" }
|
||||
{ name: 'Business Details', icon_class: "icon-briefcase" }
|
||||
{ name: 'Images', icon_class: "icon-picture" }
|
||||
{ name: "Shipping Methods", icon_class: "icon-truck" }
|
||||
{ name: "Payment Methods", icon_class: "icon-money" }
|
||||
{ name: "Enterprise Fees", icon_class: "icon-tasks" }
|
||||
{ name: "Preferences", icon_class: "icon-cog" }
|
||||
{ name: "Shop Preferences", icon_class: "icon-shopping-cart" }
|
||||
]
|
||||
|
||||
$scope.select(0)
|
||||
|
||||
@@ -38,3 +38,7 @@
|
||||
%fieldset.alpha.no-border-bottom{ ng: { show: "menu.selected.name=='Enterprise Fees'" } }
|
||||
%legend Enterprise Fees
|
||||
= render 'admin/enterprises/form/enterprise_fees', f: f
|
||||
|
||||
%fieldset.alpha.no-border-bottom{ ng: { show: "menu.selected.name=='Shop Preferences'" } }
|
||||
%legend Shop Preferences
|
||||
= render 'admin/enterprises/form/shop_preferences', f: f
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
Something
|
||||
Reference in New Issue
Block a user