liquid_feedback_frontend

diff app/main/initiative/_current_draft.lua @ 271:d13b27a37ad5

Optical enhancements, some repositioning of ui elements
author bsw
date Tue Feb 07 22:30:48 2012 +0100 (2012-02-07)
parents 00d1004545f1
children f460555c9896
line diff
     1.1 --- a/app/main/initiative/_current_draft.lua	Tue Feb 07 20:03:31 2012 +0100
     1.2 +++ b/app/main/initiative/_current_draft.lua	Tue Feb 07 22:30:48 2012 +0100
     1.3 @@ -13,4 +13,18 @@
     1.4      params = { initiative_id = initiative.id }
     1.5    }
     1.6  end
     1.7 +
     1.8 +if initiator and initiator.accepted and not initiative.issue.half_frozen and not initiative.issue.closed and not initiative.revoked then
     1.9 +  ui.link{
    1.10 +    attr = { class = "action", style = "float: right;" },
    1.11 +    content = function()
    1.12 +      ui.image{ static = "icons/16/script_delete.png" }
    1.13 +      slot.put(_"Revoke initiative")
    1.14 +    end,
    1.15 +    module = "initiative",
    1.16 +    view = "revoke",
    1.17 +    id = initiative.id
    1.18 +  }
    1.19 +end
    1.20 +
    1.21  execute.view{ module = "draft", view = "_show", params = { draft = initiative.current_draft } }

Impressum / About Us