mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-01-24 20:36:49 +00:00
Fix arrow position
This commit is contained in:
@@ -19,6 +19,8 @@
|
||||
%span.icon-ok-sign.with-tip{ title: "#{pluralize payment_method_count, 'payment method'}" }
|
||||
- else
|
||||
%span.icon-remove-sign.with-tip{ title: "#{enterprise.name} has no payment methods" }
|
||||
- else
|
||||
|
||||
%span.symbol.three.columns.centered
|
||||
- if can? :admin, Spree::ShippingMethod
|
||||
- shipping_method_count = enterprise.shipping_methods.count
|
||||
@@ -26,6 +28,8 @@
|
||||
%span.icon-ok-sign.with-tip{ title: "#{pluralize shipping_method_count, 'shipping method'}" }
|
||||
- else
|
||||
%span.icon-remove-sign.with-tip{ title: "#{enterprise.name} has no shipping methods" }
|
||||
- else
|
||||
|
||||
%span.symbol.three.columns.centered
|
||||
- if can? :admin, EnterpriseFee
|
||||
- fee_count = enterprise.enterprise_fees.count
|
||||
@@ -33,5 +37,7 @@
|
||||
%span.icon-ok-sign.with-tip{ title: "#{pluralize fee_count, 'fee'}" }
|
||||
- else
|
||||
%span.icon-warning-sign.with-tip{ title: "#{enterprise.name} has no enterprise fees" }
|
||||
- else
|
||||
|
||||
%span.two.columns.omega.right
|
||||
%span.icon-arrow-right
|
||||
|
||||
@@ -19,12 +19,16 @@
|
||||
%span.text-icon.one.column.centered{ class: "#{enterprise.supplied_products.not_deleted.any? ? "green" : "red" }" }
|
||||
= enterprise.supplied_products.not_deleted.count
|
||||
%span.one.column.omega
|
||||
- else
|
||||
|
||||
%span.symbol.three.columns.centered
|
||||
- if can? :admin, Spree::Product
|
||||
%span.one.column.alpha
|
||||
%span.text-icon.one.column.centered{ class: "#{enterprise.supplied_and_active_products_on_hand.any? ? "green" : "red" }" }
|
||||
= enterprise.supplied_and_active_products_on_hand.count
|
||||
%span.one.column.omega
|
||||
- else
|
||||
|
||||
|
||||
%span.symbol.three.columns.centered
|
||||
- if can? :admin, OrderCycle
|
||||
@@ -32,6 +36,8 @@
|
||||
%span.text-icon.one.column.centered{ class: "#{enterprise.active_products_in_order_cycles.any? ? "green" : "orange" }" }
|
||||
= enterprise.active_products_in_order_cycles.count
|
||||
%span.one.column.omega
|
||||
- else
|
||||
|
||||
|
||||
%span.two.columns.omega.right
|
||||
%span.icon-arrow-right
|
||||
|
||||
Reference in New Issue
Block a user