Commit 3307b2b4 by Őry Máté

vm: tune Lease.__unicode__()

parent c036215e
......@@ -91,9 +91,10 @@ class Lease(Model):
return timeuntil(n + self.delete_interval, n)
def __unicode__(self):
return "%s (%s) - (%s)" % (self.name,
self.get_readable_suspend_time(),
self.get_readable_delete_time())
return _("%s (suspend: %s, remove: %s)") % (
self.name,
self.get_readable_suspend_time(),
self.get_readable_delete_time())
class Trait(Model):
......
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 sign in to comment