apply review comments

This commit is contained in:
imperosol
2026-09-18 11:06:08 +02:00
parent 95865cfa6e
commit cc1f3ca217
3 changed files with 24 additions and 12 deletions
+17 -1
View File
@@ -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 <thomas.girod@utbm.fr\n"
"Language-Team: AE info <ae.info@utbm.fr>\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é"
@@ -30,7 +30,7 @@
{% endfor %}
{% endif %}
</div>
{% if user.has_perm("pedagogy.delete_uecomment") %}
{% if comment.author_id == user.id or user.has_perm("pedagogy.delete_uecomment") %}
<div class="alert-aside">
<a
href="{{ url("pedagogy:comment_delete", comment_id=comment.id) }}"
@@ -66,7 +66,7 @@
</time>
</div>
<div class="comment-options">
{% if user.can_edit(comment) %}
{% if comment.author_id == user.id or user.has_perm("pedagogy.change_uecomment") %}
<a
class="clickable"
hx-get="{{ url('pedagogy:comment_update', comment_id=comment.id) }}"
@@ -88,7 +88,7 @@
<i class="fa fa-exclamation delete-action"></i>
</a>
{% endif %}
{% if user.has_perm("pedagogy.delete_uecomment") %}
{% if comment.author_id == user.id or user.has_perm("pedagogy.delete_uecomment") %}
<a
href="{{ url("pedagogy:comment_delete", comment_id=comment.id) }}"
tooltip="{% trans %}Delete{% endtrans %}"
+4 -8
View File
@@ -27,25 +27,21 @@
</div>
<hr>
<div class="info-container-item">
<div>Cours magistraux</div>
<div>{% trans %}Lectures{% endtrans %}</div>
<div>{{ object.hours_CM }}h</div>
</div>
<div class="info-container-item">
<div>Travaux dirigés</div>
<div>{% trans %}Tutorials{% endtrans %}</div>
<div>{{ object.hours_TD }}h</div>
</div>
<div class="info-container-item">
<div>Travaux pratiques</div>
<div>{% trans %}Tutorials{% endtrans %}</div>
<div>{{ object.hours_TP }}h</div>
</div>
<div class="info-container-item">
<div>Travail hors encadrement</div>
<div>{% trans %}Work without supervision{% endtrans %}</div>
<div>{{ object.hours_THE }}h</div>
</div>
<div class="info-container-item">
<div>Cours magistraux</div>
<div>{{ object.hours_TE }}h</div>
</div>
<hr>
<div class="info-container-item">
<div>{% trans %}Availability{% endtrans %}</div>