X-Git-Url: http://xvm.mit.edu/gitweb/invirt/packages/invirt-web.git/blobdiff_plain/426183788de4f8f68adce1a03860294cf446bcf1..d3e746ad10f7dc4e54cfd382b4825e77b2916186:/code/templates/info.mako
diff --git a/code/templates/info.mako b/code/templates/info.mako
index 35e5074..9628e70 100644
--- a/code/templates/info.mako
+++ b/code/templates/info.mako
@@ -12,6 +12,11 @@ Info on ${machine.name}
${key}: | ${value} |
% endfor
+% if on:
+ % if 'monitoring' in config and len(config.monitoring) and 'baseuri' in config.monitoring[0]:
+
+ % endif
+% endif
%def>
<%def name="commands()">
@@ -47,7 +52,6 @@ Info on ${machine.name}
${command_button("Delete VM", "delete", extra='''onclick="return confirm('Are you sure that you want to delete this VM?');"''')}
-
%def>
<%def name="modifyForm()">
@@ -60,7 +64,6 @@ Info on ${machine.name}
(To edit ram, disk size, or machine name, turn off the machine first.)
% endif