make apple points optional
a next step would be to move this to a plugin
This commit is contained in:
parent
f71b78665e
commit
3f032e5dd9
6 changed files with 11 additions and 5 deletions
|
|
@ -27,7 +27,7 @@
|
|||
= render :partial => 'shared/open_orders', :locals => {:ordergroup => current_user.ordergroup}
|
||||
|
||||
// Stats
|
||||
- if current_user.ordergroup
|
||||
- if current_user.ordergroup and FoodsoftConfig[:use_apple_points]
|
||||
%section
|
||||
%h2= t '.ordergroup.title'
|
||||
= render :partial => "apple_bar", :locals => {:apple_bar => AppleBar.new(current_user.ordergroup)}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue