FELIX-2614 : Mark unresolved packages
git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@1021643 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 1dee034..ff429be 100644
--- a/webconsole/src/main/resources/res/ui/bundles.js
+++ b/webconsole/src/main/resources/res/ui/bundles.js
@@ -179,7 +179,14 @@
for(var pi in prop.value) {
var value = prop.value[pi];
if (i > 0) { txt = txt + "<br/>"; }
- txt = txt + value;
+ var span;
+ if (value.substring(0, 6) == "INFO: ") {
+ txt = txt + "<span class='ui-state-info-text'>" + value.substring(5) + "</span>";
+ } else if (value.substring(0, 7) == "ERROR: ") {
+ txt = txt + "<span class='ui-state-error-text'>" + value.substring(6) + "</span>";
+ } else {
+ txt = txt + value;
+ }
i++;
}
} else {