liquid_feedback_frontend
view app/main/index/initiator_invites.lua @ 957:f9f3b3edb121
Ordering of initiatives by harmonic weight
| author | bsw | 
|---|---|
| date | Sat Feb 02 18:17:34 2013 +0100 (2013-02-02) | 
| 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
