From 872009894da1e11459c9439f7a1805981719184b Mon Sep 17 00:00:00 2001 From: Emmy D'Anello Date: Fri, 7 Jun 2024 13:51:24 +0200 Subject: [PATCH] New index page for ETEAM Signed-off-by: Emmy D'Anello --- locale/fr/LC_MESSAGES/django.po | 206 ++++++++++++------ tfjm/context_processors.py | 7 + tfjm/settings.py | 13 +- tfjm/static/tfjm/img/eteam.png | Bin 0 -> 15121 bytes tfjm/templates/base.html | 6 +- tfjm/templates/index_eteam.html | 67 ++++++ .../templates/{index.html => index_tfjm.html} | 0 tfjm/templates/navbar.html | 6 +- tfjm/urls.py | 3 +- 9 files changed, 231 insertions(+), 77 deletions(-) create mode 100644 tfjm/context_processors.py create mode 100644 tfjm/static/tfjm/img/eteam.png create mode 100644 tfjm/templates/index_eteam.html rename tfjm/templates/{index.html => index_tfjm.html} (100%) diff --git a/locale/fr/LC_MESSAGES/django.po b/locale/fr/LC_MESSAGES/django.po index 41664fe..7f9121e 100644 --- a/locale/fr/LC_MESSAGES/django.po +++ b/locale/fr/LC_MESSAGES/django.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: TFJM\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2024-06-07 13:20+0200\n" +"POT-Creation-Date: 2024-06-07 13:50+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: Emmy D'Anello \n" "Language-Team: LANGUAGE \n" @@ -217,7 +217,7 @@ msgstr "" msgid "Toggle fullscreen mode" msgstr "Inverse le mode plein écran" -#: chat/templates/chat/content.html:76 tfjm/templates/navbar.html:117 +#: chat/templates/chat/content.html:76 tfjm/templates/navbar.html:119 msgid "Log out" msgstr "Déconnexion" @@ -241,15 +241,15 @@ msgstr "Chat du TFJM²" #: chat/templates/chat/login.html:10 chat/templates/chat/login.html:29 #: registration/templates/registration/password_reset_complete.html:10 -#: tfjm/templates/base.html:79 tfjm/templates/base.html:80 -#: tfjm/templates/navbar.html:98 +#: tfjm/templates/base.html:81 tfjm/templates/base.html:82 +#: tfjm/templates/navbar.html:100 #: tfjm/templates/registration/includes/login.html:22 #: tfjm/templates/registration/login.html:7 #: tfjm/templates/registration/login.html:8 msgid "Log in" msgstr "Connexion" -#: chat/urls.py:13 tfjm/templates/navbar.html:66 +#: chat/urls.py:13 tfjm/templates/navbar.html:68 msgid "Chat" msgstr "Chat" @@ -264,7 +264,7 @@ msgstr "équipes" msgid "round" msgstr "tour" -#: draw/apps.py:10 tfjm/templates/navbar.html:60 +#: draw/apps.py:10 tfjm/templates/navbar.html:62 msgid "Draw" msgstr "Tirage au sort" @@ -1424,12 +1424,12 @@ msgstr "Modifier" #: participation/templates/participation/create_team.html:11 #: participation/templates/participation/tournament_form.html:14 -#: tfjm/templates/base.html:75 +#: tfjm/templates/base.html:77 msgid "Create" msgstr "Créer" #: participation/templates/participation/join_team.html:11 -#: tfjm/templates/base.html:70 +#: tfjm/templates/base.html:72 msgid "Join" msgstr "Rejoindre" @@ -1979,7 +1979,7 @@ msgid "Edit tournament" msgstr "Modifier le tournoi" #: participation/templates/participation/tournament_detail.html:74 -#: tfjm/templates/navbar.html:29 +#: tfjm/templates/navbar.html:31 msgid "Teams" msgstr "Équipes" @@ -2052,7 +2052,7 @@ msgid "Back to tournament page" msgstr "Retour à la page du tournoi" #: participation/templates/participation/tournament_list.html:6 -#: tfjm/templates/base.html:62 +#: tfjm/templates/base.html:64 msgid "All tournaments" msgstr "Tous les tournois" @@ -2083,8 +2083,8 @@ msgstr "Modèles :" msgid "Warning: non-free format" msgstr "Attention : format non libre" -#: participation/views.py:62 tfjm/templates/base.html:74 -#: tfjm/templates/navbar.html:35 +#: participation/views.py:62 tfjm/templates/base.html:76 +#: tfjm/templates/navbar.html:37 msgid "Create team" msgstr "Créer une équipe" @@ -2096,8 +2096,8 @@ msgstr "Vous ne participez pas, vous ne pouvez pas créer d'équipe." msgid "You are already in a team." msgstr "Vous êtes déjà dans une équipe." -#: participation/views.py:103 tfjm/templates/base.html:69 -#: tfjm/templates/navbar.html:40 +#: participation/views.py:103 tfjm/templates/base.html:71 +#: tfjm/templates/navbar.html:42 msgid "Join team" msgstr "Rejoindre une équipe" @@ -3713,11 +3713,11 @@ msgstr "Privé, réservé aux utilisateur⋅rices explicitement autorisé⋅es" msgid "Admin users" msgstr "Administrateur⋅rices" -#: tfjm/settings.py:172 +#: tfjm/settings.py:173 msgid "English" msgstr "Anglais" -#: tfjm/settings.py:173 +#: tfjm/settings.py:174 msgid "French" msgstr "Français" @@ -3774,7 +3774,15 @@ msgstr "" "administrateur⋅rices avec les détails de l'erreur. Vous pouvez désormais " "retourner chercher d'autres solutions.." -#: tfjm/templates/base.html:66 +#: tfjm/templates/base.html:13 +msgid "ETEAM Platform" +msgstr "Plateforme de l'ETEAM" + +#: tfjm/templates/base.html:16 +msgid "Registration platform to the ETEAM." +msgstr "Plateforme d'inscription à l'ETEAM." + +#: tfjm/templates/base.html:68 msgid "Search results" msgstr "Résultats de la recherche" @@ -3786,42 +3794,105 @@ msgstr "Nous contacter" msgid "About" msgstr "À propos" -#: tfjm/templates/index.html:9 +#: tfjm/templates/index_eteam.html:9 tfjm/templates/index_tfjm.html:9 msgid "Welcome onto the registration site of the" msgstr " Bienvenue sur le site d'inscription au" -#: tfjm/templates/index.html:18 -msgid "You want to participate to the 𝕋𝔽𝕁𝕄² ?" -msgstr " Tu souhaites participer au 𝕋𝔽𝕁𝕄² ?" +#: tfjm/templates/index_eteam.html:18 +msgid "You want to participate to the ETEAM ?" +msgstr " Tu souhaites participer à l'ETEAM ?" -#: tfjm/templates/index.html:20 -msgid "Your team is already complete?" -msgstr "Ton équipe est déjà formée ?" +#: tfjm/templates/index_eteam.html:20 +msgid "Your team is selected and already complete?" +msgstr "Ton équipe est sélectionnée et déjà formée ?" -#: tfjm/templates/index.html:25 +#: tfjm/templates/index_eteam.html:25 tfjm/templates/index_tfjm.html:25 msgid "Register now!" msgstr "Inscris-toi maintenant !" -#: tfjm/templates/index.html:26 +#: tfjm/templates/index_eteam.html:26 tfjm/templates/index_tfjm.html:26 msgid "I already have an account" msgstr "J'ai déjà un compte" -#: tfjm/templates/index.html:32 +#: tfjm/templates/index_eteam.html:32 tfjm/templates/index_tfjm.html:32 msgid "How does it work?" msgstr "Comment ça marche ?" -#: tfjm/templates/index.html:35 +#: tfjm/templates/index_eteam.html:35 +#, python-format +msgid "" +"To participate to the ETEAM, you must be selected by your national " +"organization. If so, you just need to create an account on the Registration page. You will then have " +"to confirm your email address." +msgstr "" +"Pour participer à l'ETEAM, vous devez préalablement avoir été sélectionné⋅es " +"par votre organisation nationale. Si c'est bien le cas, il vous suffit de " +"créer un compte sur la page " +"d'inscription. Vous devrez ensuite confirmer votre adresse mail." + +#: tfjm/templates/index_eteam.html:44 +#, python-format +msgid "" +"You can access your account via the Login page. Once logged in, you will be able to create a team or join " +"one already created by one of your comrades via an access code that will " +"have been transmitted to you. You will then be invited to submit a right to " +"image authorization, essential for the smooth running of the ETEAM. Once " +"your team has at least 4 participants (maximum 6) and a supervisor, you can " +"request to validate your team to be able to work on the problems of your " +"choice." +msgstr "" +"Vous pourrez accéder à votre compte via la page de connexion. Une fois connecté⋅e, " +"vous pourrez créer une équipe ou en rejoindre une déjà créée par un⋅e de vos " +"camarades via un code d'accès qui vous aura été transmis. Vous serez ensuite " +"invité⋅e à soumettre une autorisation de droit à l'image, essentielle pour " +"le bon déroulement de l'ETEAM. Une fois votre équipe constituée d'au moins 4 " +"participant⋅es (maximum 6) et d'un⋅e encadrant⋅e, vous pourrez demander à " +"valider votre équipe pour pouvoir travailler sur les problèmes de votre " +"choix." + +#: tfjm/templates/index_eteam.html:53 tfjm/templates/index_tfjm.html:62 +msgid "I have a question" +msgstr "J'ai une question" + +#: tfjm/templates/index_eteam.html:56 +msgid "" +"Do not hesitate to consult the documentation of the site, to check if the answer is " +"not already there. Also refer of course to the 𝕋𝔽𝕁𝕄² rules. For any other question, do " +"not hesitate to contact us by email at the address eteam_moc@proton.me ." +msgstr "" +"N'hésitez pas à consulter la documentation du site, pour vérifier si la réponse n'y " +"est pas déjà. Référez-vous également bien sûr au règlement de l'ETEAM. Pour toute autre " +"question, n'hésitez pas à nous contacter par mail à l'adresse eteam_moc@proton.me ." + +#: tfjm/templates/index_tfjm.html:18 +msgid "You want to participate to the 𝕋𝔽𝕁𝕄² ?" +msgstr " Tu souhaites participer au 𝕋𝔽𝕁𝕄² ?" + +#: tfjm/templates/index_tfjm.html:20 +msgid "Your team is already complete?" +msgstr "Ton équipe est déjà formée ?" + +#: tfjm/templates/index_tfjm.html:35 #, python-format msgid "" "To participate to the 𝕋𝔽𝕁𝕄², you just need to create an account on the " "Registration page. You will " "then have to confirm your email address." msgstr "" -"Pour participer au 𝕋𝔽𝕁𝕄², il vous suffit de créer un compte sur la " -"page d'inscription. Vous devrez " -"ensuite confirmer votre adresse mail." +"Pour participer au 𝕋𝔽𝕁𝕄², il vous suffit de créer un compte sur la " +"page d'inscription. Vous " +"devrez ensuite confirmer votre adresse mail." -#: tfjm/templates/index.html:43 +#: tfjm/templates/index_tfjm.html:43 #, python-format msgid "" "You can access your account via the Login" -"page de connexion. Une fois connecté⋅e, vous pourrez créer une " -"équipe ou en rejoindre une déjà créée par un⋅e de vos camarades via un code " -"d'accès qui vous aura été transmis. Vous serez ensuite invité⋅e à soumettre " -"une autorisation de droit à l'image, essentielle pour le bon déroulement du " -"𝕋𝔽𝕁𝕄². Une fois votre équipe constituée d'au moins 4 participant⋅es " -"(maximum 6) et d'un⋅e encadrant⋅e, vous pourrez demander à valider votre " -"équipe pour pouvoir travailler sur les problèmes de votre choix." +"Vous pourrez accéder à votre compte via la page de connexion. Une fois connecté⋅e, " +"vous pourrez créer une équipe ou en rejoindre une déjà créée par un⋅e de vos " +"camarades via un code d'accès qui vous aura été transmis. Vous serez ensuite " +"invité⋅e à soumettre une autorisation de droit à l'image, essentielle pour " +"le bon déroulement du 𝕋𝔽𝕁𝕄². Une fois votre équipe constituée d'au moins 4 " +"participant⋅es (maximum 6) et d'un⋅e encadrant⋅e, vous pourrez demander à " +"valider votre équipe pour pouvoir travailler sur les problèmes de votre " +"choix." -#: tfjm/templates/index.html:52 +#: tfjm/templates/index_tfjm.html:52 msgid "I can't find a team, help me!" msgstr "Je ne trouve pas d'équipe, aidez-moi !" -#: tfjm/templates/index.html:56 +#: tfjm/templates/index_tfjm.html:56 msgid "" "You can contact us at the address contact@tfjm.org so that we can help you get in touch with other " @@ -3856,11 +3928,7 @@ msgstr "" "org\">contact@tfjm.org pour que nous puissions vous mettre en relation " "avec d'autres participant⋅es qui cherchent également une équipe." -#: tfjm/templates/index.html:62 -msgid "I have a question" -msgstr "J'ai une question" - -#: tfjm/templates/index.html:65 +#: tfjm/templates/index_tfjm.html:65 msgid "" "Do not hesitate to consult the documentation of the site, to check if the answer is " @@ -3871,20 +3939,20 @@ msgid "" "rg\"> contact@tf" "jm.org ." msgstr "" -"N'hésitez pas à consulter la " -"documentation du site, pour vérifier si la réponse n'y est pas déjà. " -"Référez-vous également bien sûr au règlement du 𝕋𝔽𝕁𝕄². Pour toute autre question, " -"n'hésitez pas à nous contacter par mail à l'adresse contact@tf" -"jm.org ." +"N'hésitez pas à consulter la documentation du site, pour vérifier si la réponse n'y " +"est pas déjà. Référez-vous également bien sûr au règlement du 𝕋𝔽𝕁𝕄². Pour toute autre " +"question, n'hésitez pas à nous contacter par mail à l'adresse contact@" +"tfjm.org ." -#: tfjm/templates/index.html:77 +#: tfjm/templates/index_tfjm.html:77 msgid "Save the dates!" msgstr "Attention aux dates !" -#: tfjm/templates/index.html:78 +#: tfjm/templates/index_tfjm.html:78 msgid "" "If you don't end your registration by the indicated deadline, you will " "unfortunately not be able to participate in the 𝕋𝔽𝕁𝕄²." @@ -3892,43 +3960,43 @@ msgstr "" "Si vous ne finalisez pas votre inscription avant la date limite indiquée, " "vous ne pourrez malheureusement pas participer au 𝕋𝔽𝕁𝕄²." -#: tfjm/templates/navbar.html:17 +#: tfjm/templates/navbar.html:19 msgid "Home" msgstr "Accueil" -#: tfjm/templates/navbar.html:21 +#: tfjm/templates/navbar.html:23 msgid "Tournaments" msgstr "Tournois" -#: tfjm/templates/navbar.html:26 +#: tfjm/templates/navbar.html:28 msgid "Users" msgstr "Utilisateur⋅rices" -#: tfjm/templates/navbar.html:46 +#: tfjm/templates/navbar.html:48 msgid "My team" msgstr "Mon équipe" -#: tfjm/templates/navbar.html:51 +#: tfjm/templates/navbar.html:53 msgid "My participation" msgstr "Ma participation" -#: tfjm/templates/navbar.html:72 +#: tfjm/templates/navbar.html:74 msgid "Administration" msgstr "Administration" -#: tfjm/templates/navbar.html:80 +#: tfjm/templates/navbar.html:82 msgid "Search…" msgstr "Chercher…" -#: tfjm/templates/navbar.html:89 +#: tfjm/templates/navbar.html:91 msgid "Return to admin view" msgstr "Retourner à l'interface administrateur⋅rice" -#: tfjm/templates/navbar.html:94 +#: tfjm/templates/navbar.html:96 msgid "Register" msgstr "S'inscrire" -#: tfjm/templates/navbar.html:110 +#: tfjm/templates/navbar.html:112 msgid "My account" msgstr "Mon compte" @@ -3972,3 +4040,7 @@ msgstr "Aucun résultat." #: tfjm/templates/sidebar.html:10 tfjm/templates/sidebar.html:21 msgid "Informations" msgstr "Informations" + +#~ msgctxt "TFJM" +#~ msgid "TFJM² Platform" +#~ msgstr "Plateforme du TFJM²" diff --git a/tfjm/context_processors.py b/tfjm/context_processors.py new file mode 100644 index 0000000..f5d4c80 --- /dev/null +++ b/tfjm/context_processors.py @@ -0,0 +1,7 @@ +from django.conf import settings + + +def tfjm_context(request): + return { + 'TFJM_APP': settings.TFJM_APP, + } diff --git a/tfjm/settings.py b/tfjm/settings.py index 0e094fb..08fb323 100644 --- a/tfjm/settings.py +++ b/tfjm/settings.py @@ -118,6 +118,7 @@ TEMPLATES = [ 'django.template.context_processors.request', 'django.contrib.auth.context_processors.auth', 'django.contrib.messages.context_processors.messages', + 'tfjm.context_processors.tfjm_context', ], }, }, @@ -306,6 +307,12 @@ else: } } +CHANNEL_LAYERS = { + "default": { + "BACKEND": "channels.layers.InMemoryChannelLayer" + } +} + # Custom phone number format PHONENUMBER_DB_FORMAT = 'NATIONAL' PHONENUMBER_DEFAULT_REGION = 'FR' @@ -361,11 +368,7 @@ FORBIDDEN_TRIGRAMS = [ "SEX", ] -CHANNEL_LAYERS = { - "default": { - "BACKEND": "channels.layers.InMemoryChannelLayer" - } -} +TFJM_APP = os.getenv("TFJM_APP", "TFJM") # Change to ETEAM for the ETEAM tournament if TFJM_STAGE == "prod": # pragma: no cover from .settings_prod import * # noqa: F401,F403 diff --git a/tfjm/static/tfjm/img/eteam.png b/tfjm/static/tfjm/img/eteam.png new file mode 100644 index 0000000000000000000000000000000000000000..72e24be141c2c8085afbc131c5e72949c984df5b GIT binary patch literal 15121 zcmeIZRZtz_w>^lvyAy&#aQEO6+}%C6ySo#DJ14jWch}(V?k>Uo-}&A9Fjes-amWB`s6Dbs8`kSUcyq=G`6|Mu?xdHKIr`meSBA6@=m ze&_%7?*HZT{|6o;cv}SmIDvm z@d2a-7j+rdj^K#X_XJONQdc!6j|Nxa+bhN9Ctj5S=H7q1R|doRqsh!<750xJd&z~I zTniDBCojUT{slNn_(@4azNMnkODz_~haV(?>uzyBrUQ$EI@Dmt3?#oGgMPhRy|&@x z2|JNqE`02PzWXV~j>(8l$JBQj$ubHI`WwgdIbt8a2ekT(qVn%Mgx7eid_U;QI9x>t z7#7BbVk&k+<=!`(jk(SJ*aPUwlAUi~=$BeP7apUejrKSjAWNpc+m;sGe(e*4`RT;r z=ldaBCjt%jBB&r~X2hVTPQSCZKsb(o4fg9|On9(|zpO-Ec0QZ;?1f+NFyL_UVe%`j zhKgCDX8J^;YpRlKv3zyjxo)~l^1O^?iJI|dD(+p%>a`<+>KuB5wp*3#G`*Ob`-y|8 zFO?cjWU`f%j45|*U?rK}ia#OOB(6$f1H`+gGy2S5ua12>#P5!0;qmON4RPv%_JnJx^YuiSqeFJ~6c0x5 z7W!5k^<6w`(+~409UF!?sq+xWt}s=3KT#8(ja4R)rSXTiMlq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{% block title %}{{ title }}{% endblock title %} - Plateforme du TFJM² + {# TODO ETEAM Plus d'uniformité #} + {% block title %}{{ title }}{% endblock title %} - {% trans "ETEAM Platform" %} - + {# TODO ETEAM Plus d'uniformité #} + {# Favicon #} diff --git a/tfjm/templates/index_eteam.html b/tfjm/templates/index_eteam.html new file mode 100644 index 0000000..a0ec20d --- /dev/null +++ b/tfjm/templates/index_eteam.html @@ -0,0 +1,67 @@ +{% extends "base.html" %} + +{% load i18n %} + +{% block content %} +
+
+

+ {% trans "Welcome onto the registration site of the" %} + ETEAM ! +

+
+
+ +
+
+

+ {% trans "You want to participate to the ETEAM ?" %} +
+ {% trans "Your team is selected and already complete?" %} +

+
+ +
+ +
+
{% trans "How does it work?" %}
+

+ {% url "registration:signup" as signup_url %} + {% blocktrans trimmed %} + To participate to the ETEAM, you must be selected by your national organization. + If so, you just need to create an account on the Registration page. + You will then have to confirm your email address. + {% endblocktrans %} +

+ +

+ {% url "login" as login_url %} + {% blocktrans trimmed %} + You can access your account via the Login page. + Once logged in, you will be able to create a team or join one already created by one of your comrades + via an access code that will have been transmitted to you. You will then be invited to submit a right to image authorization, + essential for the smooth running of the ETEAM. Once your team has at least 4 participants (maximum 6) + and a supervisor, you can request to validate your team to be able to work on the problems of your choice. + {% endblocktrans %} +

+ +

{% trans "I have a question" %}

+ +

+ {% blocktrans trimmed %} + Do not hesitate to consult the documentation of the site, to check if + the answer is not already there. Also refer of course to the + 𝕋𝔽𝕁𝕄² rules. + For any other question, do not hesitate to contact us by email at the address + + eteam_moc@proton.me + . + {% endblocktrans %} +

+
+{% endblock %} diff --git a/tfjm/templates/index.html b/tfjm/templates/index_tfjm.html similarity index 100% rename from tfjm/templates/index.html rename to tfjm/templates/index_tfjm.html diff --git a/tfjm/templates/navbar.html b/tfjm/templates/navbar.html index 31ff632..2227c5d 100644 --- a/tfjm/templates/navbar.html +++ b/tfjm/templates/navbar.html @@ -2,8 +2,10 @@