{% extends "users/profile.html" %} {% load i18n bootstrap static %} {% block infos-tab-active %}{% endblock %} {% block key-tab-active %}{% endblock %} {% block files-tab-active %}{% endblock %} {% block team-tab-active %}active{% endblock %} {% block tab-content %}

{% trans "Create a new Team" %}

{% csrf_token %}
{% render_field form.name group=True %}

{% if invitations %}

{% trans "Pending Invitations" %}

{% for invitation in invitations %} {% endfor %}
{% blocktrans with team_name=invitation.group.name sender=invitation.sender.username %} Invited to {{team_name}} by {{sender}} {% endblocktrans %} {% trans "Accept" %}

{% endif %}

{% trans "My teams" %}

{% for team in user.groups.all %} {% if team.groupowner.owner == user %} {% else %} {% endif %} {% empty %} {% trans "You are not part of any team yet." %} {% endfor %}
{{ team }} (owner) {{ team }} {% blocktrans with owner=team.groupowner.owner.username %}Owned by {{owner}}{% endblocktrans %}
{% csrf_token %}
{% endblock %}