1
0
mirror of https://gitlab.com/animath/si/plateforme.git synced 2024-12-25 05:02:23 +00:00
plateforme-tfjm2/templates/tournament/tournament_list.html

18 lines
879 B
HTML
Raw Normal View History

2020-04-29 14:26:52 +00:00
{% extends "base.html" %}
{% load django_tables2 getconfig i18n %}
{% block content %}
{% if user.is_authenticated and user.admin %}
<div class="alert alert-info">
2020-05-04 18:21:53 +00:00
<a href="mailto:contact@tfjm.org?subject=TFJM²%20{{ "TFJM_YEAR"|get_env }}&bcc={{ team_users_emails|join:"," }}">{% trans "Send a mail to all people that are in a team" %}</a><br>
<a href="mailto:contact@tfjm.org?subject=TFJM²%20{{ "TFJM_YEAR"|get_env }}&bcc={{ valid_team_users_emails|join:"," }}">{% trans "Send a mail to all people that are in a valid team" %}</a>
2020-04-29 14:26:52 +00:00
</div>
{% endif %}
{% render_table table %}
2020-05-18 21:37:02 +00:00
{% if user.is_authenticated and user.admin %}
<hr>
<a class="btn btn-block btn-secondary" href="{% url "tournament:add" %}"><i class="fas fa-calendar-plus"></i> {% trans "Add a tournament" %}</a>
{% endif %}
2020-04-29 14:26:52 +00:00
{% endblock %}