Author: rwesten
Date: Fri May 10 09:13:43 2013
New Revision: 1480951
URL: http://svn.apache.org/r1480951
Log:
fixes STANBOL-1060 by applying the patch provided by Sergio
Modified:
stanbol/trunk/enhancer/jersey/src/main/resources/templates/html/org/apache/stanbol/enhancer/jersey/resource/EnhancementEngineResource/index.ftl
Modified:
stanbol/trunk/enhancer/jersey/src/main/resources/templates/html/org/apache/stanbol/enhancer/jersey/resource/EnhancementEngineResource/index.ftl
URL:
http://svn.apache.org/viewvc/stanbol/trunk/enhancer/jersey/src/main/resources/templates/html/org/apache/stanbol/enhancer/jersey/resource/EnhancementEngineResource/index.ftl?rev=1480951&r1=1480950&r2=1480951&view=diff
==============================================================================
---
stanbol/trunk/enhancer/jersey/src/main/resources/templates/html/org/apache/stanbol/enhancer/jersey/resource/EnhancementEngineResource/index.ftl
(original)
+++
stanbol/trunk/enhancer/jersey/src/main/resources/templates/html/org/apache/stanbol/enhancer/jersey/resource/EnhancementEngineResource/index.ftl
Fri May 10 09:13:43 2013
@@ -18,7 +18,6 @@
<#escape x as x?html>
<@common.page title="Enhancement Engine ${it.name}" hasrestapi=true>
-
<div class="panel" id="webview">
<p> Enhancement Engine Details: <ul>
<li> name: ${it.name}
@@ -27,8 +26,11 @@
<li> service.id : ${it.id}
<li> service.ranking: ${it.ranking}
</ul>
-<p class="note"> You can <a href=${it.consoleBaseUri}/configMgr/${it.pid}">
+
+<#if it.pid??>
+<p class="note">You can <a href="${it.consoleBaseUri}/configMgr/${it.pid}">
configure this engine</a> by using the the Configuration Tab of the OSGi
console.</p>
+</#if>
<#--
<p> This is the list of all active Enhancement Engines active for
@@ -40,7 +42,6 @@ the name ${it.name}:
</#list>
</ul>
<p>
-
-->
</div>
@@ -50,9 +51,7 @@ the name ${it.name}:
<p>This stateless interface allows the caller to query all available
Enhancement Engines</p>
-
</div>
-
</@common.page>
</#escape>