liquid_feedback_frontend
view app/main/index/initiator_invites.lua @ 560:0fce0bdf7ce1
Removed comment with example code and made text more clear
| author | bsw | 
|---|---|
| date | Tue Jun 19 21:28:33 2012 +0200 (2012-06-19) | 
| parents | 18e8de7a2b6a | 
| children | 7dc5ab12bfe3 | 
 line source
     3 local initiatives_selector = Initiator:selector_for_invites(app.session.member_id)
     5 if initiatives_selector:count() > 0 then
     6   ui.container{
     7     attr = { style = "font-weight: bold;" },
     8     content = _"Initiatives that invited you to become initiator:"
     9   }
    11   execute.view{
    12     module = "initiative",
    13     view = "_list",
    14     params = { initiatives_selector = initiatives_selector }
    15   }
    16 else
    17   ui.field.text{ value = _"You are currently not invited to any initiative." }
    18 end
