liquid_feedback_frontend

changeset 355:a34c8c5a4853

Show direct majority in policy listing
author bsw
date Wed Feb 29 20:28:50 2012 +0100 (2012-02-29)
parents 14929096532c
children 7ee7ec1b10fc
files app/main/policy/list.lua
line diff
     1.1 --- a/app/main/policy/list.lua	Wed Feb 29 20:15:33 2012 +0100
     1.2 +++ b/app/main/policy/list.lua	Wed Feb 29 20:28:50 2012 +0100
     1.3 @@ -52,8 +52,8 @@
     1.4            value = "≥ " .. tostring(policy.initiative_quorum_num) .. "/" .. tostring(policy.initiative_quorum_den)
     1.5          }
     1.6          ui.field.text{
     1.7 -          label = _"Majority" .. ":", 
     1.8 -          value = (policy.majority_strict and ">" or "≥" ) .. " " .. tostring(policy.majority_num) .. "/" .. tostring(policy.majority_den)
     1.9 +          label = _"majority" .. ":", 
    1.10 +          value = (policy.direct_majority_strict and ">" or "≥" ) .. " " .. tostring(policy.direct_majority_num) .. "/" .. tostring(policy.direct_majority_den)
    1.11          }
    1.12        end
    1.13      },

Impressum / About Us