FELIX-4710 : Web Console: Display templated name hint for factory configuration entries. Apply patch from Stefan Seifert

git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@1648330 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/webconsole/src/main/resources/res/ui/config.js b/webconsole/src/main/resources/res/ui/config.js
index 292d118..70e5026 100644
--- a/webconsole/src/main/resources/res/ui/config.js
+++ b/webconsole/src/main/resources/res/ui/config.js
@@ -468,7 +468,11 @@
 	// rendering name - indented if factory pid is set
 	var nms = tr.find('td:eq(1) div');
 	if (conf.fpid) { 
-		nms.after(conf.id); 
+        if (conf.nameHint) {
+		    nms.after("<span title='" + conf.id + "'>" + conf.nameHint + "</span>");
+		} else {
+			nms.after(conf.id);
+        }
 		tr.attr('fpid', conf.name);
 	} else {
 		nms.addClass('ui-helper-hidden').parent().text(conf.name);