X-Git-Url: http://xvm.mit.edu/gitweb/invirt/packages/invirt-web.git/blobdiff_plain/0e16120a7b3ae7887089cd1f8fc8d1e9925ebe52..251a74f2ce55741ee63f8d5b6c732f5631912b79:/code/templates/list.tmpl diff --git a/code/templates/list.tmpl b/code/templates/list.tmpl index 2475542..f6c9a09 100644 --- a/code/templates/list.tmpl +++ b/code/templates/list.tmpl @@ -1,5 +1,6 @@ #from skeleton import skeleton #extends skeleton +#import datetime #def title @@ -118,7 +119,7 @@ $errorRow('cdrom', $err) #end if #slurp #if $machine.uptime -$machine.uptime#slurp +${datetime.timedelta(seconds=int(machine.uptime))}#slurp #end if #slurp