1
0
mirror of https://gitlab.com/animath/si/plateforme.git synced 2025-06-21 15:18:26 +02:00

Send a mail to people in a team

This commit is contained in:
Yohann D'ANELLO
2020-05-06 00:19:38 +02:00
parent 03063599a5
commit 6b698c95cc
3 changed files with 48 additions and 36 deletions

View File

@ -32,6 +32,12 @@
</dl>
</div>
{% if user.is_authenticated and user.admin %}
<div class="alert alert-info">
<a href="mailto:contact@tfjm.org?subject=TFJM²%20{{ "TFJM_YEAR"|get_env }}&bcc={{ team_users_emails|join:"," }}">{% trans "Send a mail to people in this team" %}</a><br>
</div>
{% endif %}
{% if user.admin or user in team.tournament.organizers.all or team == user.team %}
<div class="card-footer text-center">
{% if team.invalid or user.organizes %}