bsw@558: bsw@558: bsw@558: local initiatives_selector = Initiator:selector_for_invites(app.session.member_id) bsw@558: bsw@558: if initiatives_selector:count() > 0 then bsw@558: ui.container{ bsw@558: attr = { style = "font-weight: bold;" }, bsw@558: content = _"Initiatives that invited you to become initiator:" bsw@558: } bsw@558: bsw@558: execute.view{ bsw@558: module = "initiative", bsw@558: view = "_list", bsw@558: params = { initiatives_selector = initiatives_selector } bsw@558: } bsw@558: else bsw@558: ui.field.text{ value = _"You are currently not invited to any initiative." } bsw@558: end