From 297ade24350c138b90499d90fc34ad8015463742 Mon Sep 17 00:00:00 2001
From: Peter Hedenskog
Date: Tue, 7 Aug 2012 22:31:56 +0200
Subject: [PATCH] added test for color switching
---
report/velocity/summary.vm | 13 +++++++++++++
1 file changed, 13 insertions(+)
diff --git a/report/velocity/summary.vm b/report/velocity/summary.vm
index 94bb60b37..a783c8a80 100644
--- a/report/velocity/summary.vm
+++ b/report/velocity/summary.vm
@@ -58,6 +58,19 @@
#end
+
+ #if ($totalScore>90)
+ #set ($scoreType = "success")
+ #elseif ($totalScore>80)
+ #set ($scoreType = "warning")
+ #else
+ #set ($scoreType = "error")
+ #end
+
+
+ Alert type ...
+
+