]> git.parisson.com Git - teleforma.git/commitdiff
add script admin filters, locales
authorGuillaume Pellerin <yomguy@parisson.com>
Tue, 14 Jul 2015 16:27:03 +0000 (18:27 +0200)
committerGuillaume Pellerin <yomguy@parisson.com>
Tue, 14 Jul 2015 16:27:03 +0000 (18:27 +0200)
teleforma/exam/admin.py
teleforma/locale/fr/LC_MESSAGES/django.mo
teleforma/locale/fr/LC_MESSAGES/django.po

index 1f2f46d1a98ad47e367c5f42b6fa78eb2d85a170..2334db411a5c6a9a4740fc497d2d2fab08c51735 100644 (file)
@@ -40,8 +40,8 @@ class ScriptAdmin(admin.ModelAdmin):
     search_fields = ['author__username', 'author__last_name', 'corrector__username',
                     'corrector__last_name', 'course__title', 'course__code']
     readonly_fields = ['date_added','uuid','box_uuid','sha1','mime_type']
-    list_filter = ['course__title', 'session', 'type']
-    list_display = ['title', 'author_name']
+    list_filter = ['course__title', 'session', 'type', 'status']
+    list_display = ['title', 'author_name', 'status']
 
     def author_name(self, instance):
         return instance.author.username
index a4fc8d5e63d4db254c586c71e570bef266bcf0a0..cdb01789d061b0978712e8419cca89af2b076adc 100644 (file)
Binary files a/teleforma/locale/fr/LC_MESSAGES/django.mo and b/teleforma/locale/fr/LC_MESSAGES/django.mo differ
index 327d5b1de24eb4bc459148db504ba2791f93b077..fe2f37650d5056bdb0aa79ebf48f55a0cc1a07d1 100644 (file)
@@ -6,7 +6,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: PACKAGE VERSION\n"
 "Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2015-07-14 16:21+0200\n"
+"POT-Creation-Date: 2015-07-14 18:26+0200\n"
 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
 "Last-Translator: Guillaume Pellerin <yomguy@parisson.com>\n"
 "Language-Team: LANGUAGE <lists@parisson.com>\n"
@@ -49,7 +49,7 @@ msgstr "lu"
 
 #: exam/models.py:63
 msgid "backup"
-msgstr ""
+msgstr "sauvegardé"
 
 #: exam/models.py:65
 msgid "unreadable"
@@ -359,8 +359,8 @@ msgstr "Niveau"
 msgid "New score"
 msgstr "Nouvelle note"
 
-#: exam/templates/exam/score_form.html:59
-#: exam/templates/exam/script_form.html:66
+#: exam/templates/exam/score_form.html:60
+#: exam/templates/exam/script_form.html:68
 #: templates/registration/registration_form.html:21
 msgid "Submit"
 msgstr "Soumettre"
@@ -457,7 +457,7 @@ msgstr ""
 "Il y a une une erreur lors de votre soumission de copie. Merci de vérifier "
 "votre fichier ou de réessayer plus tard."
 
-#: exam/views.py:266
+#: exam/views.py:267
 msgid "all courses"
 msgstr "toutes les matières"
 
@@ -1540,9 +1540,8 @@ msgid "Peding media"
 msgstr ""
 
 #: templates/teleforma/media_pending.html:27
-#, fuzzy
 msgid "Testimonials"
-msgstr "Attestation"
+msgstr "Attestations"
 
 #: templates/teleforma/media_pending.html:45
 #, fuzzy