foodsoft/app/views/home/_apple_bar.html.haml

9 lines
392 B
Plaintext
Raw Normal View History

2013-02-04 00:46:22 +01:00
= t '.points', points: apple_bar.apples
.progress
%div{class: "bar bar-#{apple_bar.group_bar_state}", style: "width: #{apple_bar.group_bar_width}%"}
%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)
- if FoodsoftConfig[:stop_ordering_under].present?
2013-02-04 00:46:22 +01:00
%strong= t '.warning', threshold: FoodsoftConfig[:stop_ordering_under]