liquid_feedback_frontend

diff app/main/index/_initiator_invites.lua @ 61:f77ca23f9ebd

merge
author jbe
date Thu Apr 22 16:03:53 2010 +0200 (2010-04-22)
parents 4f39f0a0d5b5
children
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/app/main/index/_initiator_invites.lua	Thu Apr 22 16:03:53 2010 +0200
     1.3 @@ -0,0 +1,16 @@
     1.4 +local initiatives_selector = param.get("initiatives_selector", "table")
     1.5 +
     1.6 +if initiatives_selector:count() > 0 then
     1.7 +  ui.container{
     1.8 +    attr = { style = "font-weight: bold;" },
     1.9 +    content = _"Initiatives that invited you to become initiator:"
    1.10 +  }
    1.11 +
    1.12 +  execute.view{
    1.13 +    module = "initiative",
    1.14 +    view = "_list",
    1.15 +    params = { initiatives_selector = initiatives_selector }
    1.16 +  }
    1.17 +else
    1.18 +  ui.field.text{ value = _"You are currently not invited to any initiative." }
    1.19 +end
    1.20 \ No newline at end of file

Impressum / About Us