pedagogy: simplify moderation form for user

This commit is contained in:
Antoine Bartuccio 2019-07-08 17:34:23 +02:00
parent 99cf59c7a4
commit f15971cecf
Signed by: klmp200
GPG Key ID: E7245548C53F904B
2 changed files with 165 additions and 187 deletions

View File

@ -6,7 +6,7 @@
msgid "" msgid ""
msgstr "" msgstr ""
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2019-07-07 23:59+0200\n" "POT-Creation-Date: 2019-07-08 17:32+0200\n"
"PO-Revision-Date: 2016-07-18\n" "PO-Revision-Date: 2016-07-18\n"
"Last-Translator: Skia <skia@libskia.so>\n" "Last-Translator: Skia <skia@libskia.so>\n"
"Language-Team: AE info <ae.info@utbm.fr>\n" "Language-Team: AE info <ae.info@utbm.fr>\n"
@ -136,7 +136,7 @@ msgid "date"
msgstr "date" msgstr "date"
#: accounting/models.py:270 counter/models.py:123 counter/models.py:616 #: accounting/models.py:270 counter/models.py:123 counter/models.py:616
#: pedagogy/models.py:227 stock/models.py:102 #: pedagogy/models.py:220 stock/models.py:102
msgid "comment" msgid "comment"
msgstr "commentaire" msgstr "commentaire"
@ -265,7 +265,7 @@ msgstr ""
"Vous devez fournir soit un type comptable simplifié ou un type comptable " "Vous devez fournir soit un type comptable simplifié ou un type comptable "
"standard" "standard"
#: accounting/models.py:442 counter/models.py:159 pedagogy/models.py:98 #: accounting/models.py:442 counter/models.py:159 pedagogy/models.py:91
msgid "code" msgid "code"
msgstr "code" msgstr "code"
@ -377,12 +377,10 @@ msgstr "Compte en banque : "
#: election/templates/election/election_detail.jinja:401 #: election/templates/election/election_detail.jinja:401
#: forum/templates/forum/macros.jinja:21 forum/templates/forum/macros.jinja:134 #: forum/templates/forum/macros.jinja:21 forum/templates/forum/macros.jinja:134
#: launderette/templates/launderette/launderette_admin.jinja:16 #: launderette/templates/launderette/launderette_admin.jinja:16
#: launderette/views.py:226 pedagogy/templates/pedagogy/guide.jinja:56 #: launderette/views.py:226 pedagogy/templates/pedagogy/guide.jinja:51
#: pedagogy/templates/pedagogy/guide.jinja:79 #: pedagogy/templates/pedagogy/guide.jinja:74
#: pedagogy/templates/pedagogy/guide.jinja:115 #: pedagogy/templates/pedagogy/guide.jinja:110
#: pedagogy/templates/pedagogy/moderation.jinja:18 #: pedagogy/templates/pedagogy/uv_detail.jinja:178
#: pedagogy/templates/pedagogy/moderation.jinja:45
#: pedagogy/templates/pedagogy/uv_detail.jinja:172
#: sas/templates/sas/album.jinja:26 sas/templates/sas/moderation.jinja:18 #: sas/templates/sas/album.jinja:26 sas/templates/sas/moderation.jinja:18
#: sas/templates/sas/picture.jinja:74 sas/templates/sas/picture.jinja:124 #: sas/templates/sas/picture.jinja:74 sas/templates/sas/picture.jinja:124
#: stock/templates/stock/stock_shopping_list.jinja:43 #: stock/templates/stock/stock_shopping_list.jinja:43
@ -438,10 +436,10 @@ msgstr "Nouveau compte club"
#: forum/templates/forum/macros.jinja:20 forum/templates/forum/macros.jinja:62 #: forum/templates/forum/macros.jinja:20 forum/templates/forum/macros.jinja:62
#: forum/templates/forum/macros.jinja:128 #: forum/templates/forum/macros.jinja:128
#: launderette/templates/launderette/launderette_list.jinja:16 #: launderette/templates/launderette/launderette_list.jinja:16
#: pedagogy/templates/pedagogy/guide.jinja:55 #: pedagogy/templates/pedagogy/guide.jinja:50
#: pedagogy/templates/pedagogy/guide.jinja:78 #: pedagogy/templates/pedagogy/guide.jinja:73
#: pedagogy/templates/pedagogy/guide.jinja:114 #: pedagogy/templates/pedagogy/guide.jinja:109
#: pedagogy/templates/pedagogy/uv_detail.jinja:171 #: pedagogy/templates/pedagogy/uv_detail.jinja:177
#: sas/templates/sas/album.jinja:18 sas/templates/sas/picture.jinja:100 #: sas/templates/sas/album.jinja:18 sas/templates/sas/picture.jinja:100
#: trombi/templates/trombi/detail.jinja:9 #: trombi/templates/trombi/detail.jinja:9
#: trombi/templates/trombi/edit_profile.jinja:34 #: trombi/templates/trombi/edit_profile.jinja:34
@ -671,9 +669,8 @@ msgstr "Effectuées"
#: accounting/templates/accounting/journal_details.jinja:41 #: accounting/templates/accounting/journal_details.jinja:41
#: counter/templates/counter/cash_summary_list.jinja:37 counter/views.py:1162 #: counter/templates/counter/cash_summary_list.jinja:37 counter/views.py:1162
#: pedagogy/templates/pedagogy/moderation.jinja:16 #: pedagogy/templates/pedagogy/moderation.jinja:13
#: pedagogy/templates/pedagogy/moderation.jinja:43 #: pedagogy/templates/pedagogy/uv_detail.jinja:133
#: pedagogy/templates/pedagogy/uv_detail.jinja:132
#: trombi/templates/trombi/comment.jinja:4 #: trombi/templates/trombi/comment.jinja:4
#: trombi/templates/trombi/comment.jinja:8 #: trombi/templates/trombi/comment.jinja:8
#: trombi/templates/trombi/user_tools.jinja:50 #: trombi/templates/trombi/user_tools.jinja:50
@ -937,6 +934,7 @@ msgid "Remove"
msgstr "Retirer" msgstr "Retirer"
#: club/forms.py:75 launderette/views.py:228 #: club/forms.py:75 launderette/views.py:228
#: pedagogy/templates/pedagogy/moderation.jinja:15
msgid "Action" msgid "Action"
msgstr "Action" msgstr "Action"
@ -1427,7 +1425,7 @@ msgstr "Appel"
#: com/models.py:69 com/models.py:155 com/models.py:213 election/models.py:14 #: com/models.py:69 com/models.py:155 com/models.py:213 election/models.py:14
#: election/models.py:116 election/models.py:156 forum/models.py:242 #: election/models.py:116 election/models.py:156 forum/models.py:242
#: forum/models.py:296 pedagogy/models.py:152 #: forum/models.py:296 pedagogy/models.py:145
msgid "title" msgid "title"
msgstr "titre" msgstr "titre"
@ -1445,8 +1443,8 @@ msgstr "contenu"
msgid "type" msgid "type"
msgstr "type" msgstr "type"
#: com/models.py:77 com/models.py:216 pedagogy/models.py:113 #: com/models.py:77 com/models.py:216 pedagogy/models.py:106
#: pedagogy/models.py:222 trombi/models.py:183 #: pedagogy/models.py:215 trombi/models.py:183
msgid "author" msgid "author"
msgstr "auteur" msgstr "auteur"
@ -1587,7 +1585,7 @@ msgstr "Type"
#: com/templates/com/weekmail.jinja:19 com/templates/com/weekmail.jinja:48 #: com/templates/com/weekmail.jinja:19 com/templates/com/weekmail.jinja:48
#: forum/templates/forum/forum.jinja:24 forum/templates/forum/forum.jinja:43 #: forum/templates/forum/forum.jinja:24 forum/templates/forum/forum.jinja:43
#: forum/templates/forum/main.jinja:27 forum/views.py:243 #: forum/templates/forum/main.jinja:27 forum/views.py:243
#: pedagogy/templates/pedagogy/guide.jinja:49 #: pedagogy/templates/pedagogy/guide.jinja:44
msgid "Title" msgid "Title"
msgstr "Titre" msgstr "Titre"
@ -1854,8 +1852,8 @@ msgstr "Supprimer du Weekmail"
#: com/templates/com/weekmail_preview.jinja:9 #: com/templates/com/weekmail_preview.jinja:9
#: core/templates/core/user_account_detail.jinja:11 #: core/templates/core/user_account_detail.jinja:11
#: core/templates/core/user_account_detail.jinja:104 launderette/views.py:226 #: core/templates/core/user_account_detail.jinja:104 launderette/views.py:226
#: pedagogy/templates/pedagogy/uv_detail.jinja:11 #: pedagogy/templates/pedagogy/uv_detail.jinja:12
#: pedagogy/templates/pedagogy/uv_detail.jinja:20 #: pedagogy/templates/pedagogy/uv_detail.jinja:21
#: stock/templates/stock/shopping_list_items.jinja:9 #: stock/templates/stock/shopping_list_items.jinja:9
#: trombi/templates/trombi/comment_moderation.jinja:10 #: trombi/templates/trombi/comment_moderation.jinja:10
#: trombi/templates/trombi/export.jinja:9 #: trombi/templates/trombi/export.jinja:9
@ -2146,7 +2144,7 @@ msgstr "département"
msgid "dpt option" msgid "dpt option"
msgstr "Filière" msgstr "Filière"
#: core/models.py:248 pedagogy/models.py:125 pedagogy/models.py:291 #: core/models.py:248 pedagogy/models.py:118 pedagogy/models.py:284
msgid "semester" msgid "semester"
msgstr "semestre" msgstr "semestre"
@ -2401,7 +2399,7 @@ msgstr "S'enregister"
#: matmat/templates/matmat/search_form.jinja:37 #: matmat/templates/matmat/search_form.jinja:37
#: matmat/templates/matmat/search_form.jinja:47 #: matmat/templates/matmat/search_form.jinja:47
#: matmat/templates/matmat/search_form.jinja:58 #: matmat/templates/matmat/search_form.jinja:58
#: pedagogy/templates/pedagogy/guide.jinja:20 #: pedagogy/templates/pedagogy/guide.jinja:21
msgid "Search" msgid "Search"
msgstr "Recherche" msgstr "Recherche"
@ -3467,12 +3465,12 @@ msgid "Moderate pictures"
msgstr "Modérer les photos" msgstr "Modérer les photos"
#: core/templates/core/user_tools.jinja:112 #: core/templates/core/user_tools.jinja:112
#: pedagogy/templates/pedagogy/guide.jinja:12 #: pedagogy/templates/pedagogy/guide.jinja:13
msgid "Create UV" msgid "Create UV"
msgstr "Créer UV" msgstr "Créer UV"
#: core/templates/core/user_tools.jinja:113 #: core/templates/core/user_tools.jinja:113
#: pedagogy/templates/pedagogy/guide.jinja:15 #: pedagogy/templates/pedagogy/guide.jinja:16
#: trombi/templates/trombi/detail.jinja:10 #: trombi/templates/trombi/detail.jinja:10
msgid "Moderate comments" msgid "Moderate comments"
msgstr "Modérer les commentaires" msgstr "Modérer les commentaires"
@ -4813,7 +4811,7 @@ msgstr "Signalements acceptés"
msgid "Denied reports" msgid "Denied reports"
msgstr "Signalements refusés" msgstr "Signalements refusés"
#: pedagogy/models.py:105 #: pedagogy/models.py:98
msgid "" msgid ""
"The code of an UV must only contains uppercase characters without accent and " "The code of an UV must only contains uppercase characters without accent and "
"numbers" "numbers"
@ -4821,104 +4819,104 @@ msgstr ""
"Le code d'une UV doit seulement contenire des caractères majuscule sans " "Le code d'une UV doit seulement contenire des caractères majuscule sans "
"accents et nombres" "accents et nombres"
#: pedagogy/models.py:118 #: pedagogy/models.py:111
msgid "credit type" msgid "credit type"
msgstr "type de crédit" msgstr "type de crédit"
#: pedagogy/models.py:123 pedagogy/models.py:153 #: pedagogy/models.py:116 pedagogy/models.py:146
msgid "uv manager" msgid "uv manager"
msgstr "gestionnaire d'uv" msgstr "gestionnaire d'uv"
#: pedagogy/models.py:131 #: pedagogy/models.py:124
msgid "language" msgid "language"
msgstr "langue" msgstr "langue"
#: pedagogy/models.py:137 #: pedagogy/models.py:130
msgid "credits" msgid "credits"
msgstr "crédits" msgstr "crédits"
#: pedagogy/models.py:145 #: pedagogy/models.py:138
msgid "departmenmt" msgid "departmenmt"
msgstr "département" msgstr "département"
#: pedagogy/models.py:154 #: pedagogy/models.py:147
msgid "objectives" msgid "objectives"
msgstr "objecifs" msgstr "objecifs"
#: pedagogy/models.py:155 #: pedagogy/models.py:148
msgid "program" msgid "program"
msgstr "programme" msgstr "programme"
#: pedagogy/models.py:156 #: pedagogy/models.py:149
msgid "skills" msgid "skills"
msgstr "compétences" msgstr "compétences"
#: pedagogy/models.py:157 #: pedagogy/models.py:150
msgid "key concepts" msgid "key concepts"
msgstr "concepts clefs" msgstr "concepts clefs"
#: pedagogy/models.py:162 #: pedagogy/models.py:155
msgid "hours CM" msgid "hours CM"
msgstr "heures CM" msgstr "heures CM"
#: pedagogy/models.py:169 #: pedagogy/models.py:162
msgid "hours TD" msgid "hours TD"
msgstr "heures TD" msgstr "heures TD"
#: pedagogy/models.py:176 #: pedagogy/models.py:169
msgid "hours TP" msgid "hours TP"
msgstr "heures TP" msgstr "heures TP"
#: pedagogy/models.py:183 #: pedagogy/models.py:176
msgid "hours THE" msgid "hours THE"
msgstr "heures THE" msgstr "heures THE"
#: pedagogy/models.py:190 #: pedagogy/models.py:183
msgid "hours TE" msgid "hours TE"
msgstr "heures TE" msgstr "heures TE"
#: pedagogy/models.py:226 pedagogy/models.py:282 #: pedagogy/models.py:219 pedagogy/models.py:275
msgid "uv" msgid "uv"
msgstr "uv" msgstr "uv"
#: pedagogy/models.py:229 pedagogy/templates/pedagogy/uv_detail.jinja:56 #: pedagogy/models.py:222 pedagogy/templates/pedagogy/uv_detail.jinja:57
#: pedagogy/templates/pedagogy/uv_detail.jinja:144 #: pedagogy/templates/pedagogy/uv_detail.jinja:146
msgid "global grade" msgid "global grade"
msgstr "note globale" msgstr "note globale"
#: pedagogy/models.py:236 #: pedagogy/models.py:229
msgid "utility grade" msgid "utility grade"
msgstr "note d'utilité" msgstr "note d'utilité"
#: pedagogy/models.py:243 #: pedagogy/models.py:236
msgid "interest grade" msgid "interest grade"
msgstr "note d'intérêt" msgstr "note d'intérêt"
#: pedagogy/models.py:250 #: pedagogy/models.py:243
msgid "teaching grade" msgid "teaching grade"
msgstr "note d'enseignement" msgstr "note d'enseignement"
#: pedagogy/models.py:257 #: pedagogy/models.py:250
msgid "work load grade" msgid "work load grade"
msgstr "note de charge de travail" msgstr "note de charge de travail"
#: pedagogy/models.py:263 #: pedagogy/models.py:256
msgid "publish date" msgid "publish date"
msgstr "date de publication" msgstr "date de publication"
#: pedagogy/models.py:285 #: pedagogy/models.py:278
msgid "grade" msgid "grade"
msgstr "note" msgstr "note"
#: pedagogy/models.py:311 #: pedagogy/models.py:304
msgid "report" msgid "report"
msgstr "signaler" msgstr "signaler"
#: pedagogy/models.py:315 #: pedagogy/models.py:308
msgid "reporter" msgid "reporter"
msgstr "signalant" msgstr "signalant"
#: pedagogy/models.py:317 #: pedagogy/models.py:310
msgid "reason" msgid "reason"
msgstr "raison" msgstr "raison"
@ -4926,90 +4924,52 @@ msgstr "raison"
msgid "UV Guide" msgid "UV Guide"
msgstr "Guide des UVs" msgstr "Guide des UVs"
#: pedagogy/templates/pedagogy/guide.jinja:23 sith/settings.py:360 #: pedagogy/templates/pedagogy/guide.jinja:25
msgid "EDIM" #, fuzzy, python-format
msgstr "EDIM" #| msgid "display time"
msgid "%(display_name)s"
msgstr "temps d'affichage"
#: pedagogy/templates/pedagogy/guide.jinja:24 #: pedagogy/templates/pedagogy/guide.jinja:30
msgid "ENERGIE" #, fuzzy, python-format
msgstr "ENERGIE" #| msgid "credit type"
msgid "%(credit_type)s"
msgstr "type de crédit"
#: pedagogy/templates/pedagogy/guide.jinja:25 sith/settings.py:351 #: pedagogy/templates/pedagogy/guide.jinja:43
msgid "IMSI" #: pedagogy/templates/pedagogy/moderation.jinja:12
msgstr "IMSI"
#: pedagogy/templates/pedagogy/guide.jinja:26 sith/settings.py:353
msgid "INFO"
msgstr "INFO"
#: pedagogy/templates/pedagogy/guide.jinja:27 sith/settings.py:358
msgid "GMC"
msgstr "GMC"
#: pedagogy/templates/pedagogy/guide.jinja:28
msgid "HUMA"
msgstr "HUMA"
#: pedagogy/templates/pedagogy/guide.jinja:29 sith/settings.py:350
msgid "TC"
msgstr "TC"
#: pedagogy/templates/pedagogy/guide.jinja:32 sith/settings.py:410
msgid "CS"
msgstr "CS"
#: pedagogy/templates/pedagogy/guide.jinja:33 sith/settings.py:411
msgid "TM"
msgstr "TM"
#: pedagogy/templates/pedagogy/guide.jinja:34 sith/settings.py:414
msgid "EC"
msgstr "EC"
#: pedagogy/templates/pedagogy/guide.jinja:35 sith/settings.py:413
msgid "QC"
msgstr "QC"
#: pedagogy/templates/pedagogy/guide.jinja:36 sith/settings.py:412
msgid "OM"
msgstr "OM"
#: pedagogy/templates/pedagogy/guide.jinja:48
#: pedagogy/templates/pedagogy/moderation.jinja:15
#: pedagogy/templates/pedagogy/moderation.jinja:42
msgid "UV" msgid "UV"
msgstr "UV" msgstr "UV"
#: pedagogy/templates/pedagogy/guide.jinja:50 #: pedagogy/templates/pedagogy/guide.jinja:45
msgid "Department" msgid "Department"
msgstr "Département" msgstr "Département"
#: pedagogy/templates/pedagogy/guide.jinja:51 #: pedagogy/templates/pedagogy/guide.jinja:46
msgid "Credit type" msgid "Credit type"
msgstr "Type de crédit" msgstr "Type de crédit"
#: pedagogy/templates/pedagogy/guide.jinja:204 #: pedagogy/templates/pedagogy/guide.jinja:213
msgid "Error connecting to the server" msgid "Error connecting to the server"
msgstr "Erreur lors de la connection au serveur" msgstr "Erreur lors de la connection au serveur"
#: pedagogy/templates/pedagogy/macros.jinja:13 #: pedagogy/templates/pedagogy/macros.jinja:12
msgid " not rated " msgid " not rated "
msgstr "non noté" msgstr "non noté"
#: pedagogy/templates/pedagogy/moderation.jinja:5 #: pedagogy/templates/pedagogy/moderation.jinja:4
msgid "UV comment moderation" msgid "UV comment moderation"
msgstr "Modération des commentaires d'UV" msgstr "Modération des commentaires d'UV"
#: pedagogy/templates/pedagogy/moderation.jinja:17 #: pedagogy/templates/pedagogy/moderation.jinja:14
#: pedagogy/templates/pedagogy/moderation.jinja:44
msgid "Reason" msgid "Reason"
msgstr "Raison" msgstr "Raison"
#: pedagogy/templates/pedagogy/moderation.jinja:34 #: pedagogy/templates/pedagogy/moderation.jinja:29
msgid "Delete comments" msgid "Delete comment"
msgstr "Supprimer commentaires" msgstr "Supprimer commentaire"
#: pedagogy/templates/pedagogy/moderation.jinja:61 #: pedagogy/templates/pedagogy/moderation.jinja:30
msgid "Delete report" msgid "Delete report"
msgstr "Supprimer signalement" msgstr "Supprimer signalement"
@ -5017,83 +4977,81 @@ msgstr "Supprimer signalement"
msgid "UV Details" msgid "UV Details"
msgstr "Détails d'UV" msgstr "Détails d'UV"
#: pedagogy/templates/pedagogy/uv_detail.jinja:26 #: pedagogy/templates/pedagogy/uv_detail.jinja:27
msgid "CM: " msgid "CM: "
msgstr "CM : " msgstr "CM : "
#: pedagogy/templates/pedagogy/uv_detail.jinja:29 #: pedagogy/templates/pedagogy/uv_detail.jinja:30
msgid "TD: " msgid "TD: "
msgstr "TD : " msgstr "TD : "
#: pedagogy/templates/pedagogy/uv_detail.jinja:32 #: pedagogy/templates/pedagogy/uv_detail.jinja:33
msgid "TP: " msgid "TP: "
msgstr "TP : " msgstr "TP : "
#: pedagogy/templates/pedagogy/uv_detail.jinja:35 #: pedagogy/templates/pedagogy/uv_detail.jinja:36
msgid "TE: " msgid "TE: "
msgstr "TE : " msgstr "TE : "
#: pedagogy/templates/pedagogy/uv_detail.jinja:38 #: pedagogy/templates/pedagogy/uv_detail.jinja:39
msgid "THE: " msgid "THE: "
msgstr "THE : " msgstr "THE : "
#: pedagogy/templates/pedagogy/uv_detail.jinja:57 #: pedagogy/templates/pedagogy/uv_detail.jinja:58
#: pedagogy/templates/pedagogy/uv_detail.jinja:145 #: pedagogy/templates/pedagogy/uv_detail.jinja:147
msgid "utility" msgid "utility"
msgstr "utilité" msgstr "utilité"
#: pedagogy/templates/pedagogy/uv_detail.jinja:58 #: pedagogy/templates/pedagogy/uv_detail.jinja:59
#: pedagogy/templates/pedagogy/uv_detail.jinja:146 #: pedagogy/templates/pedagogy/uv_detail.jinja:148
#, fuzzy
#| msgid "Counters"
msgid "interest" msgid "interest"
msgstr "intérêt" msgstr "intérêt"
#: pedagogy/templates/pedagogy/uv_detail.jinja:59 #: pedagogy/templates/pedagogy/uv_detail.jinja:60
#: pedagogy/templates/pedagogy/uv_detail.jinja:147 #: pedagogy/templates/pedagogy/uv_detail.jinja:149
msgid "teaching" msgid "teaching"
msgstr "enseignement" msgstr "enseignement"
#: pedagogy/templates/pedagogy/uv_detail.jinja:60 #: pedagogy/templates/pedagogy/uv_detail.jinja:61
#: pedagogy/templates/pedagogy/uv_detail.jinja:148 #: pedagogy/templates/pedagogy/uv_detail.jinja:150
msgid "work load" msgid "work load"
msgstr "charge de travail" msgstr "charge de travail"
#: pedagogy/templates/pedagogy/uv_detail.jinja:70 #: pedagogy/templates/pedagogy/uv_detail.jinja:71
msgid "Objectives" msgid "Objectives"
msgstr "Objectifs" msgstr "Objectifs"
#: pedagogy/templates/pedagogy/uv_detail.jinja:72 #: pedagogy/templates/pedagogy/uv_detail.jinja:73
msgid "Program" msgid "Program"
msgstr "Programme" msgstr "Programme"
#: pedagogy/templates/pedagogy/uv_detail.jinja:74 #: pedagogy/templates/pedagogy/uv_detail.jinja:75
msgid "Earned skills" msgid "Earned skills"
msgstr "Compétences acquises" msgstr "Compétences acquises"
#: pedagogy/templates/pedagogy/uv_detail.jinja:76 #: pedagogy/templates/pedagogy/uv_detail.jinja:77
msgid "Key concepts" msgid "Key concepts"
msgstr "Concepts clefs" msgstr "Concepts clefs"
#: pedagogy/templates/pedagogy/uv_detail.jinja:78 #: pedagogy/templates/pedagogy/uv_detail.jinja:79
msgid "UV manager: " msgid "UV manager: "
msgstr "Gestionnaire d'UV : " msgstr "Gestionnaire d'UV : "
#: pedagogy/templates/pedagogy/uv_detail.jinja:84 #: pedagogy/templates/pedagogy/uv_detail.jinja:85
msgid "Leave comment" msgid "Leave comment"
msgstr "Laisser un commentaire" msgstr "Laisser un commentaire"
#: pedagogy/templates/pedagogy/uv_detail.jinja:139 #: pedagogy/templates/pedagogy/uv_detail.jinja:140
#: stock/templates/stock/shopping_list_items.jinja:42 stock/views.py:278 #: stock/templates/stock/shopping_list_items.jinja:42 stock/views.py:278
#: trombi/templates/trombi/export.jinja:70 #: trombi/templates/trombi/export.jinja:70
msgid "Comments" msgid "Comments"
msgstr "Commentaires" msgstr "Commentaires"
#: pedagogy/templates/pedagogy/uv_detail.jinja:165 #: pedagogy/templates/pedagogy/uv_detail.jinja:171
msgid "This comment has been reported" msgid "This comment has been reported"
msgstr "Ce commentaire a été signalé" msgstr "Ce commentaire a été signalé"
#: pedagogy/templates/pedagogy/uv_detail.jinja:177 #: pedagogy/templates/pedagogy/uv_detail.jinja:184
msgid "Report this comment" msgid "Report this comment"
msgstr "Signaler ce commentaire" msgstr "Signaler ce commentaire"
@ -5222,10 +5180,22 @@ msgstr "Anglais"
msgid "French" msgid "French"
msgstr "Français" msgstr "Français"
#: sith/settings.py:350
msgid "TC"
msgstr "TC"
#: sith/settings.py:351
msgid "IMSI"
msgstr "IMSI"
#: sith/settings.py:352 #: sith/settings.py:352
msgid "IMAP" msgid "IMAP"
msgstr "IMAP" msgstr "IMAP"
#: sith/settings.py:353
msgid "INFO"
msgstr "INFO"
#: sith/settings.py:354 #: sith/settings.py:354
msgid "GI" msgid "GI"
msgstr "GI" msgstr "GI"
@ -5242,10 +5212,18 @@ msgstr "EE"
msgid "GESC" msgid "GESC"
msgstr "GESC" msgstr "GESC"
#: sith/settings.py:358
msgid "GMC"
msgstr "GMC"
#: sith/settings.py:359 #: sith/settings.py:359
msgid "MC" msgid "MC"
msgstr "MC" msgstr "MC"
#: sith/settings.py:360
msgid "EDIM"
msgstr "EDIM"
#: sith/settings.py:361 #: sith/settings.py:361
msgid "Humanities" msgid "Humanities"
msgstr "Humanités" msgstr "Humanités"
@ -5282,6 +5260,26 @@ msgstr "Montbéliard"
msgid "Free" msgid "Free"
msgstr "Libre" msgstr "Libre"
#: sith/settings.py:410
msgid "CS"
msgstr "CS"
#: sith/settings.py:411
msgid "TM"
msgstr "TM"
#: sith/settings.py:412
msgid "OM"
msgstr "OM"
#: sith/settings.py:413
msgid "QC"
msgstr "QC"
#: sith/settings.py:414
msgid "EC"
msgstr "EC"
#: sith/settings.py:415 #: sith/settings.py:415
msgid "RN" msgid "RN"
msgstr "RN" msgstr "RN"
@ -6055,6 +6053,12 @@ msgstr "Vous ne pouvez plus écrire de commentaires, la date est passée."
msgid "Maximum characters: %(max_length)s" msgid "Maximum characters: %(max_length)s"
msgstr "Nombre de caractères max: %(max_length)s" msgstr "Nombre de caractères max: %(max_length)s"
#~ msgid "ENERGIE"
#~ msgstr "ENERGIE"
#~ msgid "HUMA"
#~ msgstr "HUMA"
#~ msgid "Former website" #~ msgid "Former website"
#~ msgstr "Ancien site" #~ msgstr "Ancien site"

View File

@ -1,63 +1,37 @@
{% extends "core/base.jinja" %} {% extends "core/base.jinja" %}
{% from 'core/macros.jinja' import select_all_checkbox %}
{% block title %} {% block title %}
{% trans %}UV comment moderation{% endtrans %} {% trans %}UV comment moderation{% endtrans %}
{% endblock title %} {% endblock title %}
{% block content %} {% block content %}
<form action="{{ url('pedagogy:moderation') }}", id="moderation_delete_form" method="post" enctype="multipart/form-data"> {{ form.errors }}
{% csrf_token %}
<p style="margin-bottom: 1em;">{{ select_all_checkbox("moderation_delete_form") }}</p>
<table> <table>
<thead> <thead>
<tr> <tr>
<td>{% trans %}UV{% endtrans %}</td> <td>{% trans %}UV{% endtrans %}</td>
<td>{% trans %}Comment{% endtrans %}</td> <td>{% trans %}Comment{% endtrans %}</td>
<td>{% trans %}Reason{% endtrans %}</td> <td>{% trans %}Reason{% endtrans %}</td>
<td>{% trans %}Delete{% endtrans %}</td> <td>{% trans %}Action{% endtrans %}</td>
</tr> </tr>
</thead> </thead>
<tbody> <tbody>
{% set queryset = form.accepted_reports.field.queryset %} {% set queryset = form.accepted_reports.field.queryset %}
{% for widget in form.accepted_reports.subwidgets %} {% for widget in form.accepted_reports.subwidgets %}
{% set report = queryset.get(id=widget.data.value) %} {% set report = queryset.get(id=widget.data.value) %}
<tr> <form action="{{ url('pedagogy:moderation') }}" method="post" enctype="multipart/form-data">
<td><a href="{{ url('pedagogy:uv_detail', uv_id=report.comment.uv.id) }}#{{ report.comment.uv.id }}">{{ report.comment.uv }}</a></td>
<td>{{ report.comment.comment|markdown }}</td>
<td>{{ report.reason|markdown }}</td>
<td>{{ widget.tag() }}</td>
</tr>
{% endfor %}
</tbody>
</table>
<p><input type="submit" value="{% trans %}Delete comments{% endtrans %}"></p>
</form>
<form action="{{ url('pedagogy:moderation') }}", id="moderation_keep_form" method="post" enctype="multipart/form-data">
{% csrf_token %} {% csrf_token %}
<p style="margin-bottom: 1em;">{{ select_all_checkbox("moderation_keep_form") }}</p>
<table>
<thead>
<tr>
<td>{% trans %}UV{% endtrans %}</td>
<td>{% trans %}Comment{% endtrans %}</td>
<td>{% trans %}Reason{% endtrans %}</td>
<td>{% trans %}Delete{% endtrans %}</td>
</tr>
</thead>
<tbody>
{% set queryset = form.denied_reports.field.queryset %}
{% for widget in form.denied_reports.subwidgets %}
{% set report = queryset.get(id=widget.data.value) %}
<tr> <tr>
<td><a href="{{ url('pedagogy:uv_detail', uv_id=report.comment.uv.id) }}#{{ report.comment.uv.id }}">{{ report.comment.uv }}</a></td> <td><a href="{{ url('pedagogy:uv_detail', uv_id=report.comment.uv.id) }}#{{ report.comment.uv.id }}">{{ report.comment.uv }}</a></td>
<td>{{ report.comment.comment|markdown }}</td> <td>{{ report.comment.comment|markdown }}</td>
<td>{{ report.reason|markdown }}</td> <td>{{ report.reason|markdown }}</td>
<td>{{ widget.tag() }}</td> <td>
<button name="accepted_reports" type="submit" value="{{ report.id }}">{% trans %}Delete comment{% endtrans %}</button>
<button name="denied_reports" type="submit" value="{{ report.id }}">{% trans %}Delete report{% endtrans %}</button>
</td>
</tr> </tr>
</form>
{% endfor %} {% endfor %}
</tbody> </tbody>
</table> </table>
<p><input type="submit" value="{% trans %}Delete report{% endtrans %}"></p>
</form>
{% endblock content %} {% endblock content %}