liquid_feedback_frontend

diff app/main/initiative/_show.lua @ 975:c7215c18168b

Removed use of issue field "ranks_available" from views
author bsw
date Sat Mar 09 20:48:01 2013 +0100 (2013-03-09)
parents 319161d5a904
children
line diff
     1.1 --- a/app/main/initiative/_show.lua	Sat Mar 09 20:47:26 2013 +0100
     1.2 +++ b/app/main/initiative/_show.lua	Sat Mar 09 20:48:01 2013 +0100
     1.3 @@ -193,7 +193,7 @@
     1.4  
     1.5    
     1.6    -- voting results
     1.7 -  if initiative.issue.ranks_available and initiative.admitted then
     1.8 +  if initiative.issue.fully_frozen and initiative.issue.closed and initiative.admitted then
     1.9      local class = initiative.winner and "admitted_info" or "not_admitted_info"
    1.10      ui.container{
    1.11        attr = { class = class },
    1.12 @@ -428,7 +428,7 @@
    1.13  
    1.14  
    1.15    if app.session:has_access("all_pseudonymous") then
    1.16 -    if initiative.issue.ranks_available then
    1.17 +    if initiative.issue.fully_frozen and initiative.issue.closed then
    1.18        local members_selector = initiative.issue:get_reference_selector("direct_voters")
    1.19              :left_join("vote", nil, { "vote.initiative_id = ? AND vote.member_id = member.id", initiative.id })
    1.20              :add_field("direct_voter.weight as voter_weight")

Impressum / About Us