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
|
|
@ -13,6 +13,6 @@
|
|||
- members = group.users
|
||||
= "(#{members.size})"
|
||||
= members.collect{|u| show_user(u)}.join(", ")
|
||||
- unless group.is_a?(Workgroup)
|
||||
- if group.is_a?(Ordergroup) and FoodsoftConfig[:use_apple_points]
|
||||
%dt= t '.apple_limit'
|
||||
%dd= group.ignore_apple_restriction ? t('.deactivated') : t('.activated')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue