liquid_feedback_frontend
view app/main/index/initiator_invites.lua @ 1546:ae194d0235c2
Set session cookie only if session is needed
| author | bsw |
|---|---|
| date | Thu Oct 22 11:57:23 2020 +0200 (2020-10-22) |
| parents | 7dc5ab12bfe3 |
| children |
line source
1 local initiatives_selector = Initiator:selector_for_invites(app.session.member_id)
3 ui.title(_"Initiatives that invited you to become initiator:")
5 if initiatives_selector:count() > 0 then
6 execute.view{
7 module = "initiative",
8 view = "_list",
9 params = { initiatives_selector = initiatives_selector }
10 }
11 else
12 ui.field.text{ value = _"You are currently not invited to any initiative." }
13 end
