msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2012-06-05 02:07+0200\n"
+"POT-Creation-Date: 2012-06-05 02:54+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
msgid "title"
msgstr "titre"
-#: models.py:127 models.py:270 models.py:388
+#: models.py:127 models.py:269 models.py:388
msgid "code"
msgstr "cote"
-#: models.py:128 models.py:269
+#: models.py:128 models.py:268
msgid "date modified"
msgstr "date de modification"
msgid "credits"
msgstr "crédits"
-#: models.py:267
-msgid "published"
-msgstr "publié"
-
-#: models.py:268 models.py:468
+#: models.py:267 models.py:468
msgid "date added"
msgstr "date d'ajout"
+#: models.py:270
+msgid "published"
+msgstr "publié"
+
#: models.py:291
msgid "document type"
msgstr "type de document"
msgstr "obligation"
#: models.py:394
-msgid "cost (€)"
-msgstr ""
+msgid "cost"
+msgstr "coût"
#: models.py:411
msgid "iej"
msgstr "Direct"
#: templates/teleforma/course_detail.html:50
-#: templates/teleforma/courses.html:81
+#: templates/teleforma/courses.html:83
msgid "No document"
msgstr "Aucun document"
blank=True, null=True)
synthesis_note = BooleanField(_('synthesis note'))
obligation = BooleanField(_('obligation'))
- cost = FloatField(_('cost (€)'))
+ cost = FloatField(_('cost'), blank=True)
def __unicode__(self):
code = self.code
class Meta:
db_table = app_label + '_' + 'student'
verbose_name = _('student')
- ordering = ['user']
+ ordering = ['user__last_name']
class Profile(models.Model):
amount = FloatField(_('amount (€)'))
date_added = DateTimeField(_('date added'), auto_now_add=True)
+ def __unicode__(self):
+ return ' - '.join([str(self.date_added), self.student.user.last_name + ' ' + \
+ self.student.user.first_name, str(self.amount)])
+
class Meta:
db_table = app_label + '_' + 'payment'
verbose_name = _('payment')
+ ordering = ['-date_added']
# TOOLS