liquid_feedback_frontend

annotate app/main/index/initiator_invites.lua @ 1232:77dc363fa0be

Local function secret_token() in model/member.lua to create secret tokens for several purposes
author jbe
date Tue Dec 01 18:22:37 2015 +0100 (2015-12-01)
parents 7dc5ab12bfe3
children
rev   line source
bsw@619 1 local initiatives_selector = Initiator:selector_for_invites(app.session.member_id)
bsw@558 2
bsw@619 3 ui.title(_"Initiatives that invited you to become initiator:")
bsw@558 4
bsw@558 5 if initiatives_selector:count() > 0 then
bsw@558 6 execute.view{
bsw@558 7 module = "initiative",
bsw@558 8 view = "_list",
bsw@558 9 params = { initiatives_selector = initiatives_selector }
bsw@558 10 }
bsw@558 11 else
bsw@558 12 ui.field.text{ value = _"You are currently not invited to any initiative." }
bsw@558 13 end

Impressum / About Us