From 9d1a11ca721178ebe6d1713a00f9947678f89f9e Mon Sep 17 00:00:00 2001 From: Kálmán Viktor <kviktor@cloud.bme.hu> Date: Wed, 24 Sep 2014 14:55:56 +0200 Subject: [PATCH] dashboard: add exact time of suspend and delete on vm detail page this looks like a perfect branch for this commit! --- circle/dashboard/templates/dashboard/vm-detail/home.html | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/circle/dashboard/templates/dashboard/vm-detail/home.html b/circle/dashboard/templates/dashboard/vm-detail/home.html index 66cc9f3..162ad27 100644 --- a/circle/dashboard/templates/dashboard/vm-detail/home.html +++ b/circle/dashboard/templates/dashboard/vm-detail/home.html @@ -64,9 +64,17 @@ </h4> <dl> <dt>{% trans "Suspended at:" %}</dt> - <dd><i class="fa fa-moon-o"></i> {{ instance.time_of_suspend|timeuntil }}</dd> + <dd> + <span title="{{ instance.time_of_suspend }}"> + <i class="fa fa-moon-o"></i> {{ instance.time_of_suspend|timeuntil }} + </span> + </dd> <dt>{% trans "Destroyed at:" %}</dt> - <dd><i class="fa fa-times"></i> {{ instance.time_of_delete|timeuntil }}</dd> + <dd> + <span title="{{ instance.time_of_delete }}"> + <i class="fa fa-times"></i> {{ instance.time_of_delete|timeuntil }} + </span> + </dd> </dl> <div style="font-weight: bold;">{% trans "Tags" %}</div> -- libgit2 0.26.0