mirror of
https://gitlab.com/animath/si/plateforme.git
synced 2025-06-21 14:38:24 +02:00
Send a mail to people in a team
This commit is contained in:
@ -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 %}
|
||||
|
Reference in New Issue
Block a user