From: Guillaume Pellerin Date: Tue, 14 Jul 2015 16:27:03 +0000 (+0200) Subject: add script admin filters, locales X-Git-Tag: 1.1~217 X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=ea53e3c037d244b417ad1f908ce47ab4f6a0b5fa;p=teleforma.git add script admin filters, locales --- diff --git a/teleforma/exam/admin.py b/teleforma/exam/admin.py index 1f2f46d1..2334db41 100644 --- a/teleforma/exam/admin.py +++ b/teleforma/exam/admin.py @@ -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 diff --git a/teleforma/locale/fr/LC_MESSAGES/django.mo b/teleforma/locale/fr/LC_MESSAGES/django.mo index a4fc8d5e..cdb01789 100644 Binary files a/teleforma/locale/fr/LC_MESSAGES/django.mo and b/teleforma/locale/fr/LC_MESSAGES/django.mo differ diff --git a/teleforma/locale/fr/LC_MESSAGES/django.po b/teleforma/locale/fr/LC_MESSAGES/django.po index 327d5b1d..fe2f3765 100644 --- a/teleforma/locale/fr/LC_MESSAGES/django.po +++ b/teleforma/locale/fr/LC_MESSAGES/django.po @@ -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 \n" "Language-Team: LANGUAGE \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