liquid_feedback_frontend
annotate app/main/index/initiator_invites.lua @ 897:54e32e34be01
Added support for polling to policy editor
| author | bsw | 
|---|---|
| date | Mon Aug 20 03:53:55 2012 +0200 (2012-08-20) | 
| 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 |