From: Quentin Smith Date: Wed, 29 Dec 2010 17:47:30 +0000 (-0500) Subject: Show a label for the CPU graph X-Git-Tag: 0.1.16^0 X-Git-Url: http://xvm.mit.edu/gitweb/invirt/packages/invirt-web.git/commitdiff_plain/refs/tags/0.1.16?hp=d3e746ad10f7dc4e54cfd382b4825e77b2916186 Show a label for the CPU graph --- diff --git a/code/templates/info.mako b/code/templates/info.mako index 9628e70..6d02f06 100644 --- a/code/templates/info.mako +++ b/code/templates/info.mako @@ -11,12 +11,12 @@ Info on ${machine.name} % for key, value in fields: ${key}:${value} % endfor + % if on: + % if 'monitoring' in config and len(config.monitoring) and 'baseuri' in config.monitoring[0]: + CPU history:Domain CPU usage + % endif + % endif -% if on: - % if 'monitoring' in config and len(config.monitoring) and 'baseuri' in config.monitoring[0]: - Domain CPU usage - % endif -% endif <%def name="commands()">