liquid_feedback_frontend
view app/main/index/_initiator_invites.lua @ 360:30f97f4ee644
Added missing primary key to privilege model
author | bsw |
---|---|
date | Wed Feb 29 22:54:21 2012 +0100 (2012-02-29) |
parents | 4f39f0a0d5b5 |
children |
line source
1 local initiatives_selector = param.get("initiatives_selector", "table")
3 if initiatives_selector:count() > 0 then
4 ui.container{
5 attr = { style = "font-weight: bold;" },
6 content = _"Initiatives that invited you to become initiator:"
7 }
9 execute.view{
10 module = "initiative",
11 view = "_list",
12 params = { initiatives_selector = initiatives_selector }
13 }
14 else
15 ui.field.text{ value = _"You are currently not invited to any initiative." }
16 end