X-Git-Url: http://xvm.mit.edu/gitweb/invirt/packages/invirt-web.git/blobdiff_plain/754c1c8b18cf49c42cb4eb704642466d2d1f4279..47b9cb0d87524e6598da025f3c49cd013f00606b:/code/templates/list.mako?ds=inline diff --git a/code/templates/list.mako b/code/templates/list.mako index 3d0c50c..777134f 100644 --- a/code/templates/list.mako +++ b/code/templates/list.mako @@ -96,21 +96,22 @@ ${self.fn.cdromList(defaults.cdrom, "$('cd_or_auto_cd').checked = true;$('autoin %def> <%def name="machineRow(machine, dark)"> +<% + on = (machine.uptime is not None) +%>