{% extends "base.html" %} {% block content %}
{% if Configs.ctf_sponsord1 %} {% else %}
{% endif %}

{{ team.name }}

{% if team.affiliation %}

{{ team.affiliation }}

{% endif %} {% if team.country %}

{{ lookup_country_code(team.country) }}

{% endif %} {% for field in team.fields %}

{{ field.name }}: {{ field.value }}

{% endfor %}

{# This intentionally hides the team's place when scores are hidden because this can be their internal profile and we don't want to leak their place in the CTF. #} {# Public page hiding is done at the route level #} {% if scores_visible() %} {% if place %} {{ place }} {% trans %}place{% endtrans %} {% endif %} {% endif %}

{% if score %} {{ score }} {% trans %}points{% endtrans %} {% endif %}

{% if team.captain_id == user.id %} {% else %} {% endif %}
{% if team.website and (team.website.startswith('http://') or team.website.startswith('https://')) %} {% endif %}
{% if Configs.ctf_sponsord2 %} {% else %}
{% endif %}
{% include "components/errors.html" %}

{% trans %}Membres{% endtrans %}

{% for member in team.members %} {% if team.captain_id == user.id %} {% endif %} {% endfor %}
{% trans %}#{% endtrans %} {% trans %}Nom d'utilisateur{% endtrans %} {% trans %}Score{% endtrans %}
{% if loop.index == 1%} gold medal {% else %} {{loop.index}} {% endif %} {{ member.name }} {% if team.captain_id == member.id %} {% trans %}Capitaine{% endtrans %} {% endif %}

{{ member.score }}

 (+{{ potentialScore[member.id]-member.score }})

{% if team.captain_id != member.id %} {% endif %}
{% if solves or awards or fails%} {% if awards %}

{% trans %}Récompenses{% endtrans %}

{% for award in awards %}


{{ award.name }}

{% if award.category %}

{{ award.category }}

{% endif %} {% if award.description %}

{{ award.description }}

{% endif %}

{{ award.value }}

{% endfor %}

{% endif %}

{% trans %}Résolutions{% endtrans %}

{% for solve in solves %} {% endfor %} {% for fail in fails %} {% endfor %}
{% trans %}Nom{% endtrans %} {% trans %}Utilisateur{% endtrans %} {% trans %}Valeur{% endtrans %} {% trans %}Temps{% endtrans %} {% trans %}Statut{% endtrans %}
{{ solve.challenge.name }} {{ solve.user.name }} {{ solve.value if solve.value is not none else solve.challenge.value }} {{ solve.date }} accepté {% if team.captain_id == user.id or solve.user.id == user.id %} {% endif %}
{{ fail.challenge.name }} {{ fail.user.name }} {{ fail.value if fail.value is not none else fail.challenge.value }} {{ fail.date }} en attente {% if team.captain_id == user.id or fail.user.id == user.id %} {% endif %}

{% else %}

{% trans %}Aucune résolution{% endtrans %}

{% endif %}
{% endblock %} {% block scripts %} {{ Assets.js("assets/js/teams/private.js") }} {% endblock %}