Fix arrow position

This commit is contained in:
Rohan Mitchell
2014-08-19 16:53:23 +10:00
parent b35c5e902f
commit e173c69ee3
2 changed files with 12 additions and 0 deletions

View File

@@ -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

View File

@@ -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