From da16b46435f01c8ad5936651c44cc151b7fe5a57 Mon Sep 17 00:00:00 2001 From: Sven Slootweg Date: Sun, 6 May 2012 21:04:45 +0200 Subject: [PATCH] Added proper status representation in VPS overview --- frontend/templates/list.tpl | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/frontend/templates/list.tpl b/frontend/templates/list.tpl index 4456689..c64b18e 100644 --- a/frontend/templates/list.tpl +++ b/frontend/templates/list.tpl @@ -26,7 +26,17 @@ <%?container[diskspace]> <%?container[guaranteed-ram]> <%?container[template]> - <%?container[status]> + + <%if container[status] == running> + Running + <%/if><%if container[status] == stopped> + Stopped + <%/if><%if container[status] == suspended> + Suspended + <%/if><%if container[status] == unknown> + Unknown + <%/if> + <%/foreach>