{% load i18n plmapp_tags %}
{% trans "Group" %} | {% endif %}{% trans "Username" %} | {% trans "First name" %} | {% trans "Last name" %} | {% trans "Date of the invitation" %} | |||
---|---|---|---|---|---|---|---|
{{ inv.group.name }} | {% endif %} {% with inv.guest as guest %}{{ guest.username }} | {{ guest.first_name }} | {{ guest.last_name }} | {% endwith %}{{ inv.ctime|date:"r" }} | {# allow valid user to resend the invitation #} {% if inv.guest_asked and inv.guest == user or not inv.guest_asked and inv.owner == user%}{% endif %} {# allow valid user to accept/refuse the invitation #} {% if inv.guest_asked and inv.owner == user or not inv.guest_asked and inv.guest == user %} | {% endif %} |