From: yomguy Date: Thu, 3 Jan 2013 09:05:49 +0000 (+0100) Subject: add admin search feilds for seminars X-Git-Tag: 0.9-probarreau~168 X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=5843ceb89bdc7476541244a2d865ce8dcf124492;p=teleforma.git add admin search feilds for seminars --- diff --git a/teleforma/admin.py b/teleforma/admin.py index c1a88651..423595f1 100644 --- a/teleforma/admin.py +++ b/teleforma/admin.py @@ -71,7 +71,9 @@ class SeminarAdmin(admin.ModelAdmin): inlines = [SeminarQuestionInline,] filter_horizontal = ['professor', 'media', 'media_preview', 'docs_1', 'docs_2', 'docs_correct'] - + ordering = ['course', 'rank'] + search_fields = ['course__title', 'title', 'sub_title'] + class Media: css = { 'all': ('admin/extra.css',) } diff --git a/teleforma/locale/fr/LC_MESSAGES/django.mo b/teleforma/locale/fr/LC_MESSAGES/django.mo index 0c31e6d1..e82761a7 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 57dcdd52..8bf1cc70 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: 2013-01-03 02:18+0100\n" +"POT-Creation-Date: 2013-01-03 09:55+0100\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: Guillaume Pellerin \n" "Language-Team: LANGUAGE \n" @@ -1249,7 +1249,7 @@ msgstr "Bureau" #: templates/telemeta/base.html:104 msgid "Contact us" -msgstr "Contactez-nous" +msgstr "Nous contacter" #: templates/telemeta/base.html:107 templates/telemeta/users.html:6 #: templates/telemeta/users.html.py:43