{% extends "django_cradmin/base.django.html" %} {% load cradmin_tags %} {% load crispy_forms_tags %} {% load i18n %} {% block title %}{% trans "Project group" %}{% endblock title %} {% block pageheader-inner %}

{% trans "Project group" %}

{{ group.assignment.long_name }} - {{ group.subject.long_name }} - {{ group.period.long_name }}

{% endblock pageheader-inner %} {% block content %}
{% if unanswered_received_invites.exists %} {% with invite=unanswered_received_invites.get %}

{% trans "You have been invited to join a group!" %} {% blocktrans with sent_by=invite.sent_by.devilryuserprofile.get_displayname %}{{ sent_by }} invited you to join their group.{% endblocktrans %}

{% trans "More info" %}

{% endwith %} {% endif %} {% if group.assignment.students_can_create_groups_now %}

{% trans "Invite someone to join your group?" %}

{% crispy form %}
{% endif %} {% if unanswered_sent_invites.exists %}

{% trans "Waiting for response from" %}

{% for invite in unanswered_sent_invites %} {% endfor %}
{% trans "Name" %} {% trans "Invited by" %} {% trans "Sent time" %}
{% trans "Delete" %}   {{ invite.sent_to.devilryuserprofile.get_displayname }} {{ invite.sent_by.devilryuserprofile.get_displayname }} {{ invite.sent_datetime|date:"DATETIME_FORMAT" }}
{% endif %} {% if group.candidates.count > 1 %}

{% trans "Project group members" %}

{% for candidate in group.candidates.all %} {% endfor %}
{% trans "Name" %} {% trans "Username" %} {% trans "Email" %}
{{ candidate.student.devilryuserprofile.full_name }} {{ candidate.student.username }} {{ candidate.student.email }}
{% endif %}
{% endblock content %}