msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2016-02-04 10:51+0100\n"
+"POT-Creation-Date: 2016-02-04 12:16+0100\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"
msgid "message"
msgstr "Messages"
+#: models/messages.py:35
+#, fuzzy
+#| msgid "date end"
+msgid "to send"
+msgstr "date de fin"
+
+#: models/messages.py:36
+#, fuzzy
+#| msgid "date end"
+msgid "sent"
+msgstr "date de fin"
+
#: models/messages.py:37
#, fuzzy
#| msgid "date end"
msgstr ""
#: templates/registration/registration_complete.html:6
-#: templates/registration/registration_pdf.html:13 views/crfpa.py:471
+#: templates/registration/registration_pdf.html:13 views/crfpa.py:475
msgid "Registration"
msgstr "Inscription"
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2016-02-04 10:51+0100\n"
+"POT-Creation-Date: 2016-02-04 12:16+0100\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"
#: templates/postman/base_write.html:63
#: templates/teleforma/inc/chat_room.html:13
msgid "Send"
-msgstr "Envoyer"
+msgstr "Envoyé"
#: exam/templates/exam/script_form.html:32 exam/templates/exam/scripts.html:36
msgid "New script"
#: models/messages.py:31
msgid "sender"
-msgstr ""
+msgstr "expéditeur"
#: models/messages.py:33
#, fuzzy
msgstr "Rejeter"
#: models/messages.py:34
-#, fuzzy
msgid "message"
-msgstr "Messages"
+msgstr "message"
+
+#: models/messages.py:35
+msgid "to send"
+msgstr "à envoyer"
+
+#: models/messages.py:36
+msgid "sent"
+msgstr "envoyé"
#: models/messages.py:37
#, fuzzy
msgstr ""
#: templates/registration/registration_complete.html:6
-#: templates/registration/registration_pdf.html:13 views/crfpa.py:471
+#: templates/registration/registration_pdf.html:13 views/crfpa.py:475
msgid "Registration"
msgstr "Inscription"
blank=True, null=True, on_delete=models.SET_NULL)
subject = models.CharField(_('subject'), max_length=119)
message = models.TextField(_('message'))
- to_send = models.BooleanField(default=False)
- sent = models.BooleanField(default=False)
+ to_send = models.BooleanField(_('to send'), default=False)
+ sent = models.BooleanField(_('sent'), default=False)
date_sent = models.DateTimeField(_('date sent'), null=True, blank=True)
class Meta(MetaCore):
<tr><td class="bold">{% trans "Studying level" %} : </td><td>{{ student.level }}</td></tr>
<tr><td class="bold">{% trans "IEJ" %} : </td><td>{{ student.iej.name }}</td></tr>
<tr><td class="bold">{% trans "Training" %} : </td><td>{{ student.training.name }}</td></tr>
- <tr><td class="bold">{% trans "Training type" %} : </td><td>{% if student.platform_only %}E-learning seulement{% else %}Présentielle et E-learning{% endif %}</td></tr>
+ <tr><td class="bold">{% trans "Training type" %} : </td><td>{% if student.platform_only %}E-learning seulement{% else %}Présentielle{% endif %}</td></tr>
<tr><td class="bold">{% trans "Matière de procédure" %} : </td><td>{{ student.procedure }}</td></tr>
<tr><td class="bold">{% trans "Matière juridique de spécialité" %} : </td><td>{{ student.written_speciality }}</td></tr>
<tr><td class="bold">{% trans "Matière d'oral de spécialité" %} : </td><td>{{ student.oral_speciality }}</td></tr>
student.trainings.add(student.training)
if not student.training and student.trainings.all():
student.training = student.trainings.all()[0]
- student.save()
+ if not student.oral_1:
+ student.oral_1 = Course.object.get(code='X')
+ if not student.oral_2:
+ student.oral_2 = Course.object.get(code='X')
+ student.save()
profile = user.profile.all()[0]
if profile.city:
profile.city = profile.city.upper()