Commit 3307b2b4 by Őry Máté

vm: tune Lease.__unicode__()

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