liquid_feedback_frontend
diff env/ui/order.lua @ 5:afd9f769c7ae
Version beta1
Final voting with Schulze-Method is now possible
Many bug fixes and code cleanup
Registration with invite codes
More sort and filter options
Seperated display of "supporters" and "potential supporters"
Optical changes
Flood limit / initiative contigent is now checked by frontend
Neccessary changes to access core beta11
Final voting with Schulze-Method is now possible
Many bug fixes and code cleanup
Registration with invite codes
More sort and filter options
Seperated display of "supporters" and "potential supporters"
Optical changes
Flood limit / initiative contigent is now checked by frontend
Neccessary changes to access core beta11
author | bsw/jbe |
---|---|
date | Fri Dec 25 12:00:00 2009 +0100 (2009-12-25) |
parents | 3bfb2fcf7ab9 |
children |
line diff
1.1 --- a/env/ui/order.lua Thu Dec 10 12:00:00 2009 +0100 1.2 +++ b/env/ui/order.lua Fri Dec 25 12:00:00 2009 +0100 1.3 @@ -16,7 +16,11 @@ 1.4 local attr = {} 1.5 if current_order == option.name then 1.6 attr.class = "active" 1.7 - args.selector:add_order_by(option.order_by) 1.8 + if option.selector_modifier then 1.9 + option.selector_modifier(args.selector) 1.10 + else 1.11 + args.selector:add_order_by(option.order_by) 1.12 + end 1.13 end 1.14 ui.link{ 1.15 attr = attr,