# HG changeset patch # User bsw # Date 1340144676 -7200 # Node ID fd41ff8d9563aa75346724bc3a34f5c149d1fa62 # Parent bf744a72c406f371cf2b51b84d629731ec8abde4 Fixed display of turned off delegations in delegation form diff -r bf744a72c406 -r fd41ff8d9563 app/main/delegation/show.lua --- a/app/main/delegation/show.lua Wed Jun 20 00:23:08 2012 +0200 +++ b/app/main/delegation/show.lua Wed Jun 20 00:24:36 2012 +0200 @@ -334,13 +334,13 @@ slot.put("
") end -if preview_trustee_id == 0 or not preview_trustee_id ==null and delegation and not delegation.trustee_id then +if preview_trustee_id == 0 or not preview_trustee_id == null and delegation and not delegation.trustee_id then ui.image{ static = "icons/16/table_go_crossed.png" } - if delegation.issue_id then + if issue_id then slot.put(_"Delegation turned off for issue") - elseif delegation.area_id then + elseif area_id then slot.put(_"Delegation turned off for area") end end