liquid_feedback_frontend

changeset 577:fd41ff8d9563

Fixed display of turned off delegations in delegation form
author bsw
date Wed Jun 20 00:24:36 2012 +0200 (2012-06-20)
parents bf744a72c406
children 54dc90658990
files app/main/delegation/show.lua
line diff
     1.1 --- a/app/main/delegation/show.lua	Wed Jun 20 00:23:08 2012 +0200
     1.2 +++ b/app/main/delegation/show.lua	Wed Jun 20 00:24:36 2012 +0200
     1.3 @@ -334,13 +334,13 @@
     1.4    slot.put("<br style='clear: left'/>")
     1.5  end
     1.6  
     1.7 -if preview_trustee_id == 0 or not preview_trustee_id ==null and delegation and not delegation.trustee_id then
     1.8 +if preview_trustee_id == 0 or not preview_trustee_id == null and delegation and not delegation.trustee_id then
     1.9    ui.image{
    1.10      static = "icons/16/table_go_crossed.png"
    1.11    }
    1.12 -  if delegation.issue_id then
    1.13 +  if issue_id then
    1.14      slot.put(_"Delegation turned off for issue")
    1.15 -  elseif delegation.area_id then
    1.16 +  elseif area_id then
    1.17      slot.put(_"Delegation turned off for area")
    1.18    end
    1.19  end

Impressum / About Us