mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-02-27 01:43:22 +00:00
Revert false HAML indent
This commit is contained in:
@@ -1,11 +1,11 @@
|
||||
%div.hubs_tab{ ng: { show: "activeTab == 'hubs'"} }
|
||||
%div.sixteen.columns.alpha.list-title
|
||||
%span.five.columns.alpha
|
||||
%span.five.columns.alpha
|
||||
= t "spree_admin_enterprises_hubs_name"
|
||||
- if can? :admin, Spree::PaymentMethod
|
||||
%span.centered.three.columns Payment Methods
|
||||
- if can? :admin, Spree::ShippingMethod
|
||||
%span.centered.three.columns
|
||||
%span.centered.three.columns
|
||||
= t "spree_admin_enterprises_shipping_methods"
|
||||
- if can? :admin, EnterpriseFee
|
||||
%span.centered.three.columns
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
%div.producers_tab{ ng: { show: "activeTab == 'producers'"} }
|
||||
%div.list-title.sixteen.columns.alpha
|
||||
%span.five.columns.alpha
|
||||
%span.five.columns.alpha
|
||||
= t "spree_admin_enterprises_producers_name"
|
||||
- if can? :admin, Spree::Product
|
||||
%span.centered.three.columns
|
||||
= t "spree_admin_enterprises_producers_total_products"
|
||||
%span.centered.three.columns
|
||||
%span.centered.three.columns
|
||||
= t "spree_admin_enterprises_producers_active_products"
|
||||
- if can? :admin, OrderCycle
|
||||
%span.centered.three.columns
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
%div.sixteen.columns.alpha.tabs
|
||||
%div.dashboard_tab.eight.columns.alpha.blue{ ng: { class: "{selected: activeTab == 'hubs'}", click: "activeTab = 'hubs'" } }
|
||||
%div.dashboard_tab.eight.columns.alpha.blue{ ng: { class: "{selected: activeTab == 'hubs'}", click: "activeTab = 'hubs'" } }
|
||||
= t "spree_admin_enterprises_tabs_hubs"
|
||||
%div.dashboard_tab.eight.columns.omega.blue{ ng: { class: "{selected: activeTab == 'producers'}", click: "activeTab = 'producers'" } }
|
||||
= t "spree_admin_enterprises_tabs_producers"
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
%a.three.columns.omega.icon-plus.button.blue{ href: "#{main_app.new_admin_order_cycle_path}" }
|
||||
= t "spree_admin_enterprises_create_new"
|
||||
- else
|
||||
%a.with-tip{ title: t(:spree_admin_order_cycles_tip) }
|
||||
%a.with-tip{ title: t(:spree_admin_order_cycles_tip) }
|
||||
= t "admin_entreprise_groups_what_s_this"
|
||||
%a{ "ofn-with-tip" => "Order cycles determine when and where your products are available to customers." } What's this?
|
||||
%div.seven.columns.alpha.list
|
||||
@@ -21,7 +21,7 @@
|
||||
%span.icon-arrow-right
|
||||
- else
|
||||
%div.seven.columns.alpha.list-item.orange
|
||||
%span.six.columns.alpha
|
||||
%span.six.columns.alpha
|
||||
= t "spree_admin_enterprises_producers_orders_cycle_text"
|
||||
%span.one.column.omega
|
||||
%span.icon-warning-sign
|
||||
|
||||
@@ -6,9 +6,8 @@
|
||||
%a.three.columns.omega.icon-plus.button.blue{ href: "#{new_admin_product_path}" }
|
||||
= t "spree_admin_enterprises_create_new"
|
||||
- else
|
||||
%a.with-tip{ title: "The products that you sell through the Open Food Network." }
|
||||
%a{ "ofn-with-tip" => "The products that you sell through the Open Food Network." }
|
||||
= t "admin_entreprise_groups_what_s_this"
|
||||
%a{ "ofn-with-tip" => "The products that you sell through the Open Food Network." } What's this?
|
||||
%div.seven.columns.alpha.list
|
||||
- if @product_count > 0
|
||||
%div.seven.columns.alpha.list-item
|
||||
@@ -21,12 +20,10 @@
|
||||
%span.icon-arrow-right
|
||||
- else
|
||||
%div.seven.columns.alpha.list-item.red
|
||||
%span.six.columns.alpha
|
||||
%span.six.columns.alpha
|
||||
= t "spree_admin_enterprises_any_active_products_text"
|
||||
%span.one.column.omega
|
||||
%span.icon-remove-sign
|
||||
%a.seven.columns.alpha.button.bottom.red{ href: "#{new_admin_product_path}" }
|
||||
= t "spree_admin_enterprises_create_new_product"
|
||||
%span.icon-arrow-right
|
||||
CREATE A NEW PRODUCT
|
||||
%span.icon-arrow-right
|
||||
|
||||
@@ -2,10 +2,9 @@
|
||||
= render 'admin/shared/user_guide_link'
|
||||
|
||||
|
||||
%h1{ :style => 'margin-bottom: 30px'}
|
||||
= t "dashbord"
|
||||
%div{ 'ng-app' => 'ofn.admin' }
|
||||
%h1{ :style => 'margin-bottom: 30px' } Dashboard
|
||||
%h1{ :style => 'margin-bottom: 30px' }
|
||||
= t "dashbord"
|
||||
|
||||
- if @enterprises.unconfirmed.any?
|
||||
|
||||
|
||||
@@ -37,7 +37,7 @@
|
||||
%a.close{ href: "#" } ×
|
||||
- if !@enterprise.visible
|
||||
.alert-box
|
||||
%strong
|
||||
%strong
|
||||
= t "spree_admin_single_enterprise_hint"
|
||||
%strong= "#{t 'manage'} #{@enterprise.name}."
|
||||
%a.close{ href: "#" } ×
|
||||
@@ -47,7 +47,7 @@
|
||||
.header
|
||||
%h3
|
||||
%span.icon-map-marker
|
||||
= t "your_profil_live"
|
||||
= t "your_profil_live"
|
||||
%p
|
||||
= t "on_ofn_map"
|
||||
.list
|
||||
@@ -64,7 +64,7 @@
|
||||
.header
|
||||
%h3
|
||||
%span.icon-edit
|
||||
= t "edit_profile_details"
|
||||
= t "edit_profile_details"
|
||||
%p
|
||||
= t "edit_profile_details_etc"
|
||||
.list
|
||||
@@ -79,7 +79,7 @@
|
||||
.header
|
||||
%h3
|
||||
%span.icon-th-large
|
||||
= t "add_and_manage_products"
|
||||
= t "add_and_manage_products"
|
||||
.list
|
||||
%a.button.bottom{href: bulk_edit_admin_products_path}
|
||||
= t "manage_products"
|
||||
@@ -93,7 +93,7 @@
|
||||
.header
|
||||
%h3
|
||||
%span.icon-shopping-cart
|
||||
= t "add_and_manage_order_cycles"
|
||||
= t "add_and_manage_order_cycles"
|
||||
.list
|
||||
%a.button.bottom{href: main_app.admin_order_cycles_path}
|
||||
= t "manage_order_cycles"
|
||||
|
||||
@@ -29,7 +29,7 @@
|
||||
%br
|
||||
%table#listing_orders.index
|
||||
%thead
|
||||
%tr{'data-hook' => "orders_header" }
|
||||
%tr{'data-hook' => "orders_header"}
|
||||
- @report.header.each do |heading|
|
||||
%th=heading
|
||||
%tbody
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
%br
|
||||
%table#listing_orders.index
|
||||
%thead
|
||||
%tr{'data-hook' => "orders_header" }
|
||||
%tr{'data-hook' => "orders_header"}
|
||||
- @report.header.each do |heading|
|
||||
%th=heading
|
||||
%tbody
|
||||
|
||||
@@ -35,7 +35,7 @@
|
||||
%br
|
||||
%table#listing_products.index
|
||||
%thead
|
||||
%tr{'data-hook' => "products_header" }
|
||||
%tr{'data-hook' => "products_header"}
|
||||
- @report.header.each do |heading|
|
||||
%th=heading
|
||||
%tbody
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
%br
|
||||
%table#listing_orders.index
|
||||
%thead
|
||||
%tr{'data-hook' => "orders_header" }
|
||||
%tr{'data-hook' => "orders_header"}
|
||||
- @report.header.each do |heading|
|
||||
%th= heading
|
||||
%tbody
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
%span.icon-arrow-right
|
||||
- else
|
||||
.four.columns.alpha.list-item
|
||||
%span.three.columns.alpha
|
||||
%span.three.columns.alpha
|
||||
t(:hub_sidebar_none_available)
|
||||
%span.one.column.omega
|
||||
%span.icon-remove-sign
|
||||
|
||||
Reference in New Issue
Block a user