mirror of
https://github.com/ae-utbm/sith.git
synced 2025-09-12 19:15:43 +00:00
@@ -1,6 +1,14 @@
|
|||||||
{% extends "core/base.jinja" %}
|
{% extends "core/base.jinja" %}
|
||||||
{% from 'core/macros.jinja' import user_profile_link %}
|
{% from 'core/macros.jinja' import user_profile_link %}
|
||||||
|
|
||||||
|
{% block title -%}
|
||||||
|
{{ club.name }}
|
||||||
|
{%- endblock %}
|
||||||
|
|
||||||
|
{% block description -%}
|
||||||
|
{{ club.short_description }}
|
||||||
|
{%- endblock %}
|
||||||
|
|
||||||
{% block content %}
|
{% block content %}
|
||||||
<div id="club_detail">
|
<div id="club_detail">
|
||||||
{% if club.logo %}
|
{% if club.logo %}
|
||||||
|
@@ -1,8 +1,12 @@
|
|||||||
{% extends "core/base.jinja" %}
|
{% extends "core/base.jinja" %}
|
||||||
|
|
||||||
{% block title %}
|
{% block title -%}
|
||||||
{% trans %}Club list{% endtrans %}
|
{% trans %}Club list{% endtrans %}
|
||||||
{% endblock %}
|
{%- endblock %}
|
||||||
|
|
||||||
|
{% block description -%}
|
||||||
|
{% trans %}The list of all clubs existing at UTBM.{% endtrans %}
|
||||||
|
{%- endblock %}
|
||||||
|
|
||||||
{% macro display_club(club) -%}
|
{% macro display_club(club) -%}
|
||||||
|
|
||||||
@@ -21,7 +25,7 @@
|
|||||||
|
|
||||||
{%- if club.children.all()|length != 0 %}
|
{%- if club.children.all()|length != 0 %}
|
||||||
<ul>
|
<ul>
|
||||||
{%- for c in club.children.order_by('name') %}
|
{%- for c in club.children.order_by('name').prefetch_related("children") %}
|
||||||
{{ display_club(c) }}
|
{{ display_club(c) }}
|
||||||
{%- endfor %}
|
{%- endfor %}
|
||||||
</ul>
|
</ul>
|
||||||
@@ -36,8 +40,8 @@
|
|||||||
{% if club_list %}
|
{% if club_list %}
|
||||||
<h3>{% trans %}Club list{% endtrans %}</h3>
|
<h3>{% trans %}Club list{% endtrans %}</h3>
|
||||||
<ul>
|
<ul>
|
||||||
{%- for c in club_list.all().order_by('name') if c.parent is none %}
|
{%- for club in club_list %}
|
||||||
{{ display_club(c) }}
|
{{ display_club(club) }}
|
||||||
{%- endfor %}
|
{%- endfor %}
|
||||||
</ul>
|
</ul>
|
||||||
{% else %}
|
{% else %}
|
||||||
|
@@ -171,6 +171,10 @@ class ClubListView(ListView):
|
|||||||
|
|
||||||
model = Club
|
model = Club
|
||||||
template_name = "club/club_list.jinja"
|
template_name = "club/club_list.jinja"
|
||||||
|
queryset = (
|
||||||
|
Club.objects.filter(parent=None).order_by("name").prefetch_related("children")
|
||||||
|
)
|
||||||
|
context_object_name = "club_list"
|
||||||
|
|
||||||
|
|
||||||
class ClubView(ClubTabsMixin, DetailView):
|
class ClubView(ClubTabsMixin, DetailView):
|
||||||
|
@@ -1,10 +1,6 @@
|
|||||||
{% extends "core/base.jinja" %}
|
{% extends "core/base.jinja" %}
|
||||||
{% from "com/macros.jinja" import news_moderation_alert %}
|
{% from "com/macros.jinja" import news_moderation_alert %}
|
||||||
|
|
||||||
{% block title %}
|
|
||||||
{% trans %}News{% endtrans %}
|
|
||||||
{% endblock %}
|
|
||||||
|
|
||||||
{% block additional_css %}
|
{% block additional_css %}
|
||||||
<link rel="stylesheet" href="{{ static('com/css/news-list.scss') }}">
|
<link rel="stylesheet" href="{{ static('com/css/news-list.scss') }}">
|
||||||
<link rel="stylesheet" href="{{ static('com/components/ics-calendar.scss') }}">
|
<link rel="stylesheet" href="{{ static('com/components/ics-calendar.scss') }}">
|
||||||
|
@@ -2,8 +2,14 @@
|
|||||||
<html lang="fr">
|
<html lang="fr">
|
||||||
<head>
|
<head>
|
||||||
{% block head %}
|
{% block head %}
|
||||||
<title>{% block title %}{% trans %}Welcome!{% endtrans %}{% endblock %} - Association des Étudiants UTBM</title>
|
<title>{% block title %}Association des Étudiants de l'UTBM{% endblock %}</title>
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
|
<meta name="description" content="{% block description -%}
|
||||||
|
{% trans trimmed %}
|
||||||
|
AE UTBM is a voluntary organisation run by UTBM students.
|
||||||
|
It organises student life at UTBM and manages its student facilities.
|
||||||
|
{% endtrans %}
|
||||||
|
{%- endblock %}">
|
||||||
<link rel="shortcut icon" href="{{ static('core/img/favicon.ico') }}">
|
<link rel="shortcut icon" href="{{ static('core/img/favicon.ico') }}">
|
||||||
<link rel="stylesheet" href="{{ static('core/base.css') }}">
|
<link rel="stylesheet" href="{{ static('core/base.css') }}">
|
||||||
<link rel="stylesheet" href="{{ static('core/style.scss') }}">
|
<link rel="stylesheet" href="{{ static('core/style.scss') }}">
|
||||||
|
@@ -1,8 +1,12 @@
|
|||||||
{% extends "core/base.jinja" %}
|
{% extends "core/base.jinja" %}
|
||||||
|
|
||||||
{% block title %}
|
{% block title -%}
|
||||||
{% trans %}Eboutic{% endtrans %}
|
{% trans %}Eboutic{% endtrans %}
|
||||||
{% endblock %}
|
{%- endblock %}
|
||||||
|
|
||||||
|
{% block description -%}
|
||||||
|
{% trans %}The online shop of the association.{% endtrans %}
|
||||||
|
{%- endblock %}
|
||||||
|
|
||||||
{% block additional_js %}
|
{% block additional_js %}
|
||||||
{# This script contains the code to perform requests to manipulate the
|
{# This script contains the code to perform requests to manipulate the
|
||||||
|
@@ -2,9 +2,13 @@
|
|||||||
{% from 'core/macros.jinja' import user_profile_link %}
|
{% from 'core/macros.jinja' import user_profile_link %}
|
||||||
{% from 'forum/macros.jinja' import display_forum, display_search_bar %}
|
{% from 'forum/macros.jinja' import display_forum, display_search_bar %}
|
||||||
|
|
||||||
{% block title %}
|
{% block title -%}
|
||||||
{% trans %}Forum{% endtrans %}
|
{% trans %}Forum{% endtrans %}
|
||||||
{% endblock %}
|
{%- endblock %}
|
||||||
|
|
||||||
|
{% block description -%}
|
||||||
|
{% trans %}A forum dedicated to the UTBM students.{% endtrans %}
|
||||||
|
{%- endblock %}
|
||||||
|
|
||||||
{% block additional_css %}
|
{% block additional_css %}
|
||||||
<link rel="stylesheet" href="{{ static('forum/css/forum.scss') }}">
|
<link rel="stylesheet" href="{{ static('forum/css/forum.scss') }}">
|
||||||
|
@@ -6,7 +6,7 @@
|
|||||||
msgid ""
|
msgid ""
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Report-Msgid-Bugs-To: \n"
|
"Report-Msgid-Bugs-To: \n"
|
||||||
"POT-Creation-Date: 2025-08-23 15:30+0200\n"
|
"POT-Creation-Date: 2025-09-01 18:18+0200\n"
|
||||||
"PO-Revision-Date: 2016-07-18\n"
|
"PO-Revision-Date: 2016-07-18\n"
|
||||||
"Last-Translator: Maréchal <thomas.girod@utbm.fr\n"
|
"Last-Translator: Maréchal <thomas.girod@utbm.fr\n"
|
||||||
"Language-Team: AE info <ae.info@utbm.fr>\n"
|
"Language-Team: AE info <ae.info@utbm.fr>\n"
|
||||||
@@ -306,6 +306,10 @@ msgstr "Utilisateur non enregistré"
|
|||||||
msgid "Club list"
|
msgid "Club list"
|
||||||
msgstr "Liste des clubs"
|
msgstr "Liste des clubs"
|
||||||
|
|
||||||
|
#: club/templates/club/club_list.jinja
|
||||||
|
msgid "The list of all clubs existing at UTBM."
|
||||||
|
msgstr "La liste de tous les clubs existants à l'UTBM"
|
||||||
|
|
||||||
#: club/templates/club/club_list.jinja
|
#: club/templates/club/club_list.jinja
|
||||||
msgid "inactive"
|
msgid "inactive"
|
||||||
msgstr "inactif"
|
msgstr "inactif"
|
||||||
@@ -901,7 +905,7 @@ msgid "News admin"
|
|||||||
msgstr "Administration des nouvelles"
|
msgstr "Administration des nouvelles"
|
||||||
|
|
||||||
#: com/templates/com/news_admin_list.jinja com/templates/com/news_detail.jinja
|
#: com/templates/com/news_admin_list.jinja com/templates/com/news_detail.jinja
|
||||||
#: com/templates/com/news_list.jinja com/views.py
|
#: com/views.py
|
||||||
msgid "News"
|
msgid "News"
|
||||||
msgstr "Nouvelles"
|
msgstr "Nouvelles"
|
||||||
|
|
||||||
@@ -1035,7 +1039,7 @@ msgstr "Liens"
|
|||||||
msgid "Our services"
|
msgid "Our services"
|
||||||
msgstr "Nos services"
|
msgstr "Nos services"
|
||||||
|
|
||||||
#: com/templates/com/news_list.jinja pedagogy/templates/pedagogy/guide.jinja
|
#: com/templates/com/news_list.jinja
|
||||||
msgid "UV Guide"
|
msgid "UV Guide"
|
||||||
msgstr "Guide des UVs"
|
msgstr "Guide des UVs"
|
||||||
|
|
||||||
@@ -1705,8 +1709,12 @@ msgid "500, Server Error"
|
|||||||
msgstr "500, Erreur Serveur"
|
msgstr "500, Erreur Serveur"
|
||||||
|
|
||||||
#: core/templates/core/base.jinja
|
#: core/templates/core/base.jinja
|
||||||
msgid "Welcome!"
|
msgid ""
|
||||||
msgstr "Bienvenue !"
|
"AE UTBM is a voluntary organisation run by UTBM students. It organises "
|
||||||
|
"student life at UTBM and manages its student facilities."
|
||||||
|
msgstr ""
|
||||||
|
"L'AE UTBM est une association bénévole gérée par les étudiants de "
|
||||||
|
"l'UTBM. Elle organise la vie étudiante de l'UTBM et gère ses lieux de vie."
|
||||||
|
|
||||||
#: core/templates/core/base/footer.jinja core/templates/core/base/navbar.jinja
|
#: core/templates/core/base/footer.jinja core/templates/core/base/navbar.jinja
|
||||||
msgid "Contacts"
|
msgid "Contacts"
|
||||||
@@ -3819,6 +3827,10 @@ msgstr ""
|
|||||||
msgid "Pay with Sith account"
|
msgid "Pay with Sith account"
|
||||||
msgstr "Payer avec un compte AE"
|
msgstr "Payer avec un compte AE"
|
||||||
|
|
||||||
|
#: eboutic/templates/eboutic/eboutic_main.jinja
|
||||||
|
msgid "The online shop of the association."
|
||||||
|
msgstr "La boutique en ligne de l'association."
|
||||||
|
|
||||||
#: eboutic/templates/eboutic/eboutic_main.jinja
|
#: eboutic/templates/eboutic/eboutic_main.jinja
|
||||||
msgid "Clear"
|
msgid "Clear"
|
||||||
msgstr "Vider"
|
msgstr "Vider"
|
||||||
@@ -4148,6 +4160,10 @@ msgstr "Message supprimé ou non-visible."
|
|||||||
msgid "Order by date"
|
msgid "Order by date"
|
||||||
msgstr "Trier par date"
|
msgstr "Trier par date"
|
||||||
|
|
||||||
|
#: forum/templates/forum/main.jinja
|
||||||
|
msgid "A forum dedicated to the UTBM students."
|
||||||
|
msgstr "Un forum dédié aux étudiants de l'UTBM."
|
||||||
|
|
||||||
#: forum/templates/forum/main.jinja
|
#: forum/templates/forum/main.jinja
|
||||||
msgid "View last unread messages"
|
msgid "View last unread messages"
|
||||||
msgstr "Voir les derniers messages non lus"
|
msgstr "Voir les derniers messages non lus"
|
||||||
@@ -4374,6 +4390,14 @@ msgstr "signaler"
|
|||||||
msgid "reporter"
|
msgid "reporter"
|
||||||
msgstr "signalant"
|
msgstr "signalant"
|
||||||
|
|
||||||
|
#: pedagogy/templates/pedagogy/guide.jinja
|
||||||
|
msgid "UE Guide"
|
||||||
|
msgstr "Guide des UEs"
|
||||||
|
|
||||||
|
#: pedagogy/templates/pedagogy/guide.jinja
|
||||||
|
msgid "A guide of courses available at UTBM."
|
||||||
|
msgstr "Un guide de tous les cours disponibles à l'UTBM."
|
||||||
|
|
||||||
#: pedagogy/templates/pedagogy/guide.jinja
|
#: pedagogy/templates/pedagogy/guide.jinja
|
||||||
#, python-format
|
#, python-format
|
||||||
msgid "%(display_name)s"
|
msgid "%(display_name)s"
|
||||||
@@ -4666,6 +4690,11 @@ msgstr "Demande de retrait d'image"
|
|||||||
msgid "Request removal"
|
msgid "Request removal"
|
||||||
msgstr "Demander le retrait"
|
msgstr "Demander le retrait"
|
||||||
|
|
||||||
|
#: sas/templates/sas/main.jinja
|
||||||
|
msgid "See all the photos taken during events organised by the AE."
|
||||||
|
msgstr ""
|
||||||
|
"Retrouvez toutes les photos prises lors des événements organisés par l'AE."
|
||||||
|
|
||||||
#: sas/templates/sas/main.jinja
|
#: sas/templates/sas/main.jinja
|
||||||
msgid "You must be logged in to see the SAS."
|
msgid "You must be logged in to see the SAS."
|
||||||
msgstr "Vous devez être connecté pour voir les photos."
|
msgstr "Vous devez être connecté pour voir les photos."
|
||||||
|
@@ -2,9 +2,13 @@
|
|||||||
{% from 'core/macros.jinja' import paginate_alpine %}
|
{% from 'core/macros.jinja' import paginate_alpine %}
|
||||||
|
|
||||||
{% block title %}
|
{% block title %}
|
||||||
{% trans %}UV Guide{% endtrans %}
|
{% trans %}UE Guide{% endtrans %}
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
|
{% block description -%}
|
||||||
|
{% trans %}A guide of courses available at UTBM.{% endtrans %}
|
||||||
|
{%- endblock %}
|
||||||
|
|
||||||
{% block additional_css %}
|
{% block additional_css %}
|
||||||
<link rel="stylesheet" href="{{ static('pedagogy/css/pedagogy.scss') }}">
|
<link rel="stylesheet" href="{{ static('pedagogy/css/pedagogy.scss') }}">
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
@@ -8,6 +8,10 @@
|
|||||||
{% trans %}SAS{% endtrans %}
|
{% trans %}SAS{% endtrans %}
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
|
{% block description -%}
|
||||||
|
{% trans %}See all the photos taken during events organised by the AE.{% endtrans %}
|
||||||
|
{%- endblock %}
|
||||||
|
|
||||||
{% set is_sas_admin = user.is_root or user.is_in_group(pk=settings.SITH_GROUP_SAS_ADMIN_ID) %}
|
{% set is_sas_admin = user.is_root or user.is_in_group(pk=settings.SITH_GROUP_SAS_ADMIN_ID) %}
|
||||||
|
|
||||||
{% from "sas/macros.jinja" import display_album %}
|
{% from "sas/macros.jinja" import display_album %}
|
||||||
|
Reference in New Issue
Block a user