liquid_feedback_frontend

annotate app/main/index/initiator_invites.lua @ 562:051d0244c60f

Added tag v2.beta9 for changeset 12e504938643
author bsw
date Tue Jun 19 21:33:11 2012 +0200 (2012-06-19)
parents 18e8de7a2b6a
children 7dc5ab12bfe3
rev   line source
bsw@558 1
bsw@558 2
bsw@558 3 local initiatives_selector = Initiator:selector_for_invites(app.session.member_id)
bsw@558 4
bsw@558 5 if initiatives_selector:count() > 0 then
bsw@558 6 ui.container{
bsw@558 7 attr = { style = "font-weight: bold;" },
bsw@558 8 content = _"Initiatives that invited you to become initiator:"
bsw@558 9 }
bsw@558 10
bsw@558 11 execute.view{
bsw@558 12 module = "initiative",
bsw@558 13 view = "_list",
bsw@558 14 params = { initiatives_selector = initiatives_selector }
bsw@558 15 }
bsw@558 16 else
bsw@558 17 ui.field.text{ value = _"You are currently not invited to any initiative." }
bsw@558 18 end

Impressum / About Us