From db21998d48bc1f111410121364027c70b4e7ce5a Mon Sep 17 00:00:00 2001 From: Quentin Smith Date: Wed, 29 Dec 2010 12:47:30 -0500 Subject: [PATCH] Show a label for the CPU graph --- code/templates/info.mako | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) 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()"> -- 1.7.9.5