diff --git a/locale/fr/LC_MESSAGES/django.po b/locale/fr/LC_MESSAGES/django.po index b1b58bed..23a6db99 100644 --- a/locale/fr/LC_MESSAGES/django.po +++ b/locale/fr/LC_MESSAGES/django.po @@ -6,7 +6,7 @@ msgid "" msgstr "" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2026-09-14 11:48+0200\n" +"POT-Creation-Date: 2026-09-18 11:01+0200\n" "PO-Revision-Date: 2016-07-18\n" "Last-Translator: Maréchal \n" @@ -5241,6 +5241,22 @@ msgstr "Catégorie" msgid "Credits" msgstr "Crédits" +#: pedagogy/templates/pedagogy/ue_detail.jinja +msgid "Lectures" +msgstr "Cours magistraux" + +#: pedagogy/templates/pedagogy/ue_detail.jinja +msgid "Tutorials" +msgstr "Travaux dirigés" + +#: pedagogy/templates/pedagogy/ue_detail.jinja +msgid "Practicals" +msgstr "Travaux pratiques" + +#: pedagogy/templates/pedagogy/ue_detail.jinja +msgid "Work without supervision" +msgstr "Travail hors encadrement" + #: pedagogy/templates/pedagogy/ue_detail.jinja msgid "Availability" msgstr "Disponibilité" diff --git a/pedagogy/templates/pedagogy/fragments/ue_detail/comments.jinja b/pedagogy/templates/pedagogy/fragments/ue_detail/comments.jinja index 85ca5dad..a7a033b5 100644 --- a/pedagogy/templates/pedagogy/fragments/ue_detail/comments.jinja +++ b/pedagogy/templates/pedagogy/fragments/ue_detail/comments.jinja @@ -30,7 +30,7 @@ {% endfor %} {% endif %} - {% if user.has_perm("pedagogy.delete_uecomment") %} + {% if comment.author_id == user.id or user.has_perm("pedagogy.delete_uecomment") %}
- {% if user.can_edit(comment) %} + {% if comment.author_id == user.id or user.has_perm("pedagogy.change_uecomment") %} {% endif %} - {% if user.has_perm("pedagogy.delete_uecomment") %} + {% if comment.author_id == user.id or user.has_perm("pedagogy.delete_uecomment") %}
-
Cours magistraux
+
{% trans %}Lectures{% endtrans %}
{{ object.hours_CM }}h
-
Travaux dirigés
+
{% trans %}Tutorials{% endtrans %}
{{ object.hours_TD }}h
-
Travaux pratiques
+
{% trans %}Tutorials{% endtrans %}
{{ object.hours_TP }}h
-
Travail hors encadrement
+
{% trans %}Work without supervision{% endtrans %}
{{ object.hours_THE }}h
-
-
Cours magistraux
-
{{ object.hours_TE }}h
-

{% trans %}Availability{% endtrans %}