Recover commit 6a639fe498
This commit is contained in:
parent
853dcf8334
commit
6b71142747
@ -350,7 +350,7 @@ class Motion(SlideMixin, models.Model):
|
|||||||
|
|
||||||
def get_agenda_title(self):
|
def get_agenda_title(self):
|
||||||
"""Return a title for the Agenda."""
|
"""Return a title for the Agenda."""
|
||||||
return self.last_version.title
|
return self.last_version.title # TODO: nutze active_version
|
||||||
|
|
||||||
## def get_agenda_title_supplement(self):
|
## def get_agenda_title_supplement(self):
|
||||||
## number = self.number or '<i>[%s]</i>' % ugettext('no number')
|
## number = self.number or '<i>[%s]</i>' % ugettext('no number')
|
||||||
@ -529,7 +529,7 @@ class MotionLog(models.Model):
|
|||||||
motion = models.ForeignKey(Motion, related_name='log_messages')
|
motion = models.ForeignKey(Motion, related_name='log_messages')
|
||||||
"""The motion to witch the object belongs."""
|
"""The motion to witch the object belongs."""
|
||||||
|
|
||||||
message = models.CharField(max_length=255)
|
message = models.CharField(max_length=255) # TODO: arguments in message, not translatable
|
||||||
"""The log message.
|
"""The log message.
|
||||||
|
|
||||||
Should be in english.
|
Should be in english.
|
||||||
|
Loading…
Reference in New Issue
Block a user