Commit 713d0fdf authored by Patrick's avatar Patrick

DOrder the staff members via drag / drop in the admin interface

parent 53fa171f
......@@ -77,9 +77,9 @@ class Staff(MPTTModel, TranslatableModel):
@property
def title_for_admin(self):
if self.customer_responsible is not None:
return '%s : %s (%s)' % (self.long_name, self.customer_responsible.long_basket_name, self.customer_responsible.phone1)
return '%s : %s (%s)' % (self.safe_translation_getter('long_name', any_language=True), self.customer_responsible.long_basket_name, self.customer_responsible.phone1)
else:
return '%s' % self.long_name
return '%s' % self.safe_translation_getter('long_name', any_language=True)
objects = StaffManager()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment