{% 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" %}
{% if invitations %}
{% trans "Pending Invitations" %}
{% for invitation in invitations %}
{% blocktrans with team_name=invitation.group.name sender=invitation.sender.username %}
Invited to {{team_name}} by {{sender}}
{% endblocktrans %}
|
{% trans "Accept" %}
|
{% endfor %}
{% endif %}
{% trans "My teams" %}
{% for team in user.groups.all %}
{% if team.groupowner.owner == user %}
{{ team }} (owner) |
|
{% else %}
{{ team }} |
{% blocktrans with owner=team.groupowner.owner.username %}Owned by {{owner}}{% endblocktrans %} |
|
{% endif %}
{% empty %}
{% trans "You are not part of any team yet." %}
{% endfor %}
{% endblock %}