{% extends "messages/base.html" %} {% load i18n %} {% load account_tags %} {% block head_title %}{% trans "Invitations" %}{% endblock %} {% block body %}

{% trans "Invitations" %}

{% trans "Invite someone new to join" %}

{% trans "Friendship Requests Received" %}

{% if invites_received %} {% for invitation in invites_received %} {% ifequal invitation.status "2" %} {% else %} {% endifequal %} {% endfor %}

From {% user_display invitation.from_user %} ({{ invitation.sent }}):

{{ invitation.message }}

{% csrf_token %}
{% csrf_token %}
{% user_display invitation.from_user %} {{ invitation.sent }} {{ invitation.get_status_display }}
{% else %}

{% trans "No friendship requests received." %}

{% endif %}

{% trans "Friendship Requests Sent" %}

{% if invites_sent %} {% for invitation in invites_sent %} {% endfor %}
{% user_display invitation.to_user %} {{ invitation.sent }} {{ invitation.get_status_display }}
{% else %}

{% trans "No friendship requests sent." %}

{% endif %}

{% trans "Join Requests Sent" %}

{% if joins_sent %} {% for invitation in joins_sent %} {% endfor %}
{{ invitation.contact.email }} {{ invitation.sent }} {{ invitation.get_status_display }} {% for other_user in invitation.contact.users.all %} {% user_display other_user %} {% endfor %}
{% else %}

{% trans "No join requests sent." %}

{% endif %} {% endblock %} {% block extra_body %} {% endblock %}