mirror of
				https://gitlab.com/animath/si/plateforme.git
				synced 2025-11-04 05:42:12 +01:00 
			
		
		
		
	Merge branch 'dev' into 'master'
Dev See merge request animath/si/plateforme-tfjm!14
This commit is contained in:
		@@ -103,7 +103,7 @@
 | 
			
		||||
 | 
			
		||||
        <div class="text-center">
 | 
			
		||||
            <a class="btn btn-info" href="{% url "participation:team_authorizations" pk=team.pk %}" data-turbolinks="false">
 | 
			
		||||
                <i class="fas fa-file-archive"></i> {% trans "Download all authorizations" %}
 | 
			
		||||
                <i class="fas fa-file-archive"></i> {% trans "Download all submitted authorizations" %}
 | 
			
		||||
            </a>
 | 
			
		||||
        </div>
 | 
			
		||||
    </div>
 | 
			
		||||
 
 | 
			
		||||
@@ -65,8 +65,8 @@
 | 
			
		||||
                </dd>
 | 
			
		||||
            {% endif %}
 | 
			
		||||
 | 
			
		||||
            {% if user_object.registration.studentregistration and user_object.registration.participation.tournament and not user_object.registration.participation.tournament.remote %}
 | 
			
		||||
                {% if user_object.registration.under_18 %}
 | 
			
		||||
            {% if user_object.registration.studentregistration %}
 | 
			
		||||
                {% if user_object.registration.under_18 and user_object.registration.team.participation.tournament and not user_object.registration.team.participation.tournament.remote %}
 | 
			
		||||
                    <dt class="col-sm-6 text-right">{% trans "Health sheet:" %}</dt>
 | 
			
		||||
                    <dd class="col-sm-6">
 | 
			
		||||
                        {% if user_object.registration.health_sheet %}
 | 
			
		||||
@@ -150,7 +150,7 @@
 | 
			
		||||
    </div>
 | 
			
		||||
    {% if user.pk == user_object.pk or user.registration.is_admin %}
 | 
			
		||||
        <div class="card-footer text-center">
 | 
			
		||||
            <button class="btn btn-primary" data-toggle="modal" data-target="#updateUserModal">{% trans "Update" %}</button>
 | 
			
		||||
            <a class="btn btn-primary" href="{% url "registration:update_user" pk=user_object.pk %}">{% trans "Update" %}</a>
 | 
			
		||||
            {% if user.registration.is_admin %}
 | 
			
		||||
                <a class="btn btn-info" href="{% url "registration:user_impersonate" pk=user_object.pk %}">{% trans "Impersonate" %}</a>
 | 
			
		||||
            {% endif %}
 | 
			
		||||
@@ -158,11 +158,6 @@
 | 
			
		||||
    {% endif %}
 | 
			
		||||
    </div>
 | 
			
		||||
 | 
			
		||||
    {% trans "Update user" as modal_title %}
 | 
			
		||||
    {% trans "Update" as modal_button %}
 | 
			
		||||
    {% url "registration:update_user" pk=user_object.pk as modal_action %}
 | 
			
		||||
    {% include "base_modal.html" with modal_id="updateUser" %}
 | 
			
		||||
 | 
			
		||||
    {% if user_object.registration.team and not user_object.registration.team.participation.valid %}
 | 
			
		||||
        {% trans "Upload photo authorization" as modal_title %}
 | 
			
		||||
        {% trans "Upload" as modal_button %}
 | 
			
		||||
@@ -196,11 +191,6 @@
 | 
			
		||||
{% block extrajavascript %}
 | 
			
		||||
    <script>
 | 
			
		||||
        $(document).ready(function() {
 | 
			
		||||
            $('button[data-target="#updateUserModal"]').click(function() {
 | 
			
		||||
                let modalBody = $("#updateUserModal div.modal-body");
 | 
			
		||||
                if (!modalBody.html().trim())
 | 
			
		||||
                    modalBody.load("{% url "registration:update_user" pk=user_object.pk %} #form-content");
 | 
			
		||||
            });
 | 
			
		||||
            {% if user_object.registration.team and not user_object.registration.team.participation.valid %}
 | 
			
		||||
                $('button[data-target="#uploadPhotoAuthorizationModal"]').click(function() {
 | 
			
		||||
                    let modalBody = $("#uploadPhotoAuthorizationModal div.modal-body");
 | 
			
		||||
 
 | 
			
		||||
@@ -794,8 +794,8 @@ msgid "Replace"
 | 
			
		||||
msgstr "Remplacer"
 | 
			
		||||
 | 
			
		||||
#: apps/participation/templates/participation/team_detail.html:106
 | 
			
		||||
msgid "Download all authorizations"
 | 
			
		||||
msgstr "Télécharger toutes les autorisations"
 | 
			
		||||
msgid "Download all submitted authorizations"
 | 
			
		||||
msgstr "Télécharger toutes les autorisations soumises"
 | 
			
		||||
 | 
			
		||||
#: apps/participation/templates/participation/team_detail.html:113
 | 
			
		||||
#: apps/participation/templates/participation/team_detail.html:180
 | 
			
		||||
@@ -824,7 +824,7 @@ msgid ""
 | 
			
		||||
"Your team must be composed of 4 members and a coach and each member must "
 | 
			
		||||
"upload their authorizations and confirm its email address."
 | 
			
		||||
msgstr ""
 | 
			
		||||
"Votre équipe doit être composée de 4 membres et un encadrant et chaque "
 | 
			
		||||
"Votre équipe doit être composée d'au moins 4 membres et un encadrant et chaque "
 | 
			
		||||
"membre doit envoyer ses autorisations et confirmé son adresse e-mail."
 | 
			
		||||
 | 
			
		||||
#: apps/participation/templates/participation/team_detail.html:146
 | 
			
		||||
 
 | 
			
		||||
@@ -45,8 +45,8 @@
 | 
			
		||||
            Vous pouvez accéder à votre compte via la rubrique <strong><a href="{% url "login" %}">Connexion</a></strong>.
 | 
			
		||||
            Une fois connecté, vous pourrez créer une équipe ou en rejoindre une déjà créée par l'un de vos camarades
 | 
			
		||||
            via un code d'accès qui vous aura été transmis. Vous serez ensuite invité à soumettre une autorisation de droit à l'image,
 | 
			
		||||
            indispensable au bon déroulement du 𝕋𝔽𝕁𝕄². Une fois que votre équipe comporte au moins 3 participants (maximum 5)
 | 
			
		||||
            et un encadrant, vous pourrez demander à valider votre équipe pour être apte à travailler sur le problème de votre choix.
 | 
			
		||||
            indispensable au bon déroulement du 𝕋𝔽𝕁𝕄². Une fois que votre équipe comporte au moins 4 participants (maximum 6)
 | 
			
		||||
            et un encadrant, vous pourrez demander à valider votre équipe pour être apte à travailler sur les problèmes de votre choix.
 | 
			
		||||
        </p>
 | 
			
		||||
 | 
			
		||||
        <h2>Je ne trouve pas d'équipe, aidez-moi !</h2>
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user