{% from 'message_box.html' import message_box %} {% macro render_invitation_info(invitation) %} {% call message_box('highlight') %} {% if invitation.state.name == 'pending' %} {% trans -%} You have been invited to register for this event. If you do not wish to participate, please inform the organizers by declining the invitation. {%- endtrans %}
{% else %} {% trans -%} You have declined the invitation, but you may still register for the event. {%- endtrans %} {% endif %} {% endcall %} {% endmacro %}