2013-02-04 00:46:22 +01:00
|
|
|
= t '.points', points: apple_bar.apples
|
2012-10-06 17:14:57 +02:00
|
|
|
.progress
|
|
|
|
%div{class: "bar bar-#{apple_bar.group_bar_state}", style: "width: #{apple_bar.group_bar_width}%"}
|
2012-09-29 17:52:25 +02:00
|
|
|
|
|
|
|
%span.description
|
2013-02-04 00:46:22 +01:00
|
|
|
= t '.desc', amount: number_to_currency(apple_bar.mean_order_amount_per_job, :precision=>0)
|
2012-09-29 17:52:25 +02:00
|
|
|
- if FoodsoftConfig[:stop_ordering_under].present?
|
2013-03-21 22:08:09 +01:00
|
|
|
%strong= t('.warning', threshold: FoodsoftConfig[:stop_ordering_under])
|
|
|
|
= link_to t('.more_info'), FoodsoftConfig[:applepear_url], target: '_blank'
|