Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

modified metadata-show so that the metadata-show showMapPanel gui par…

…ameter works better
  • Loading branch information...
commit dddbaa4512043144caaf1e699283ee91a089ef4d 1 parent b9b2a36
@jesseeichar jesseeichar authored ianwallen committed
Showing with 3 additions and 3 deletions.
  1. +3 −3 web/src/main/webapp/xsl/metadata-show.xsl
View
6 web/src/main/webapp/xsl/metadata-show.xsl
@@ -122,13 +122,12 @@
<xsl:variable name="typeWMS"><xsl:copy-of select="/root/request/type"/></xsl:variable>
+<xsl:if test="$showMap!='false'">
<script type="text/javascript">
function init() {};
- if ('<xsl:value-of select="$showMap"/>' !== 'true') {
- return; // only show mappanel if configuration says to.
- }
+
var getIMServiceURL = function(service){
// FIXME: the "/intermap/" context should be parametrized
return "/intermap/srv/"+Env.lang+"/"+service;
@@ -271,6 +270,7 @@
}
</script>
+ </xsl:if>
</xsl:template>
<xsl:template name="content">
Please sign in to comment.
Something went wrong with that request. Please try again.