Changeset 17502 in main for trunk/ibisph-view/src/main/webapp/xslt/html/indicator/profile/view/Page.xslt
- Timestamp:
- 11/19/18 21:20:53 (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/ibisph-view/src/main/webapp/xslt/html/indicator/profile/view/Page.xslt
r17472 r17502 37 37 <xsl:param name="Page.comparisonDimensionValue" select="'35'"/> 38 38 39 <xsl:param name="Page.showMap" select="ibis:Graphic.showMap( 40 /INDICATOR_VIEW/MAP_NAME, 41 /INDICATOR_VIEW/DIMENSION_USAGES/DIMENSION_USAGE[USAGE='category']/NAME, 42 /INDICATOR_VIEW/DIMENSION_USAGES/DIMENSION_USAGE[USAGE='series']/NAME, 43 '', 44 $Indicator.dimensions 45 )" 46 /> 47 39 48 <xsl:param name="Indicator.contentBlockType" select="'fixed'"/> 40 49 <xsl:param name="Indicator.contentBlockTitleLevel" select="3"/> … … 74 83 <xsl:with-param name="addWikiAttribute" select="true()"/> 75 84 </xsl:call-template> 76 85 <!-- GARTH TODO: remove 77 86 <xsl:message select="$indicatorView/MAP_NAME"/> 78 87 <xsl:message select="$indicatorView/DIMENSION_USAGES/DIMENSION_USAGE[USAGE='category']/NAME"/> 79 88 <xsl:message select="$indicatorView/DIMENSION_USAGES/DIMENSION_USAGE[USAGE='series']/NAME"/> 80 89 <xsl:message select="$indicatorView/DIMENSION_USAGES/DIMENSION_USAGE[USAGE='constant']/NAME"/> 81 <xsl:variable name="showMap" select="ibis:Graphic.showMap($indicatorView/MAP_NAME, 82 $indicatorView/DIMENSION_USAGES/DIMENSION_USAGE[USAGE='category']/NAME, 83 $indicatorView/DIMENSION_USAGES/DIMENSION_USAGE[USAGE='series']/NAME, 84 $indicatorView/DIMENSION_USAGES/DIMENSION_USAGE[USAGE='constant']/NAME, 85 $Indicator.dimensions 86 )" 87 /> 88 89 <xsl:if test="$showMap"> 90 <xsl:message select="$Page.showMap"/> 91 --> 92 93 <xsl:if test="$Page.showMap"> 90 94 <xsl:call-template name="ContentContainer.expandable"> 91 95 <xsl:with-param name="title" select="'Map'"/> … … 119 123 </xsl:call-template> 120 124 </xsl:with-param> 121 <xsl:with-param name="show" select="not($ showMap)"/>125 <xsl:with-param name="show" select="not($Page.showMap)"/> 122 126 <xsl:with-param name="addWikiAttribute" select="false()"/> 123 127 </xsl:call-template> … … 217 221 <xsl:with-param name="indicatorView" select="$indicatorView"/> 218 222 <xsl:with-param name="measure" select="$Indicator.measure"/> 219 <xsl:with-param name="showMap" select="$ showMap"/>223 <xsl:with-param name="showMap" select="$Page.showMap"/> 220 224 </xsl:call-template> 221 225 </xsl:template> … … 338 342 339 343 <!-- ===================================================== 344 345 GARTH TODO: 346 340 347 // var firstSlot = $kendoChart.getKendoChart()._plotArea.axes[0].getSlot(0); 341 348 // alert("first slot width" + firstSlot.width()); … … 426 433 --> 427 434 428 <xsl:if test="$ showMap">435 <xsl:if test="$Page.showMap"> 429 436 var leafletMapConstructorJSON = $.extend 430 437 (true, {} … … 458 465 459 466 </script> 467 460 468 </xsl:template> 461 469
Note: See TracChangeset
for help on using the changeset viewer.