Only mark missing packages red, packages from boot delegation should be grey.
git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@742975 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/webconsole/src/main/resources/res/ui/bundles.js b/webconsole/src/main/resources/res/ui/bundles.js
index 75ec6dd..0bebc67 100644
--- a/webconsole/src/main/resources/res/ui/bundles.js
+++ b/webconsole/src/main/resources/res/ui/bundles.js
@@ -181,8 +181,10 @@
var value = prop.value[pi];
if (i > 0) { txt = txt + "<br/>"; }
var span;
- if (value.substring(0, 2) == "!!") {
- txt = txt + "<span style='color: red;'>" + value + "</span>";
+ if (value.substring(0, 6) == "INFO: ") {
+ txt = txt + "<span style='color: grey;'>!!" + value.substring(5) + "</span>";
+ } else if (value.substring(0, 7) == "ERROR: ") {
+ txt = txt + "<span style='color: red;'>!!" + value.substring(6) + "</span>";
} else {
txt = txt + value;
}