Changeset 18588 in main for trunk/ibisph-view/src/main/webapp/xslt/html/indicator/profile/view/Page.xslt
- Timestamp:
- 05/23/19 16:10:37 (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/ibisph-view/src/main/webapp/xslt/html/indicator/profile/view/Page.xslt
r18555 r18588 51 51 52 52 <xsl:template name="Page.sectionsContent" ibis:doc="Main page content template that determines if IP or Surrogate."> 53 <xsl:choose> 54 <xsl:when test="0 != string-length($indicatorView/EXTERNAL_CONTENT_URL)"> 55 <xsl:call-template name="Page.insertAJAXContent"> 56 <xsl:with-param name="sourceContentURL" select="$indicatorView/EXTERNAL_CONTENT_URL"/> 57 <xsl:with-param name="sourceContentJQuerySelector" select="$indicatorView/EXTERNAL_CONTENT_SELECTOR"/> 58 <xsl:with-param name="destContentJQuerySelector" 59 select="if(0 = string-length($indicatorView/EXTERNAL_CONTENT_DEST_SELECTOR)) 60 then $indicatorView/EXTERNAL_CONTENT_DEST_SELECTOR 61 else 'sectionsContainer'" 62 /> 63 </xsl:call-template> 64 </xsl:when> 65 <xsl:otherwise> 66 <xsl:call-template name="Page.interativeContent"> 67 <xsl:with-param name="indicator" select="$indicator"/> 68 <xsl:with-param name="indicatorView" select="$indicatorView"/> 69 </xsl:call-template> 70 </xsl:otherwise> 71 </xsl:choose> 53 54 <!-- if no external content or external content AND a dest selector then call the default page. --> 55 <xsl:if test="(0 = string-length($indicatorView/EXTERNAL_CONTENT_URL)) or (0 != string-length($indicatorView/EXTERNAL_CONTENT_DEST_SELECTOR))"> 56 <xsl:call-template name="Page.interativeContent"> 57 <xsl:with-param name="indicator" select="$indicator"/> 58 <xsl:with-param name="indicatorView" select="$indicatorView"/> 59 </xsl:call-template> 60 </xsl:if> 61 62 <!-- if external content of any sort e.g. complete replacement or section. --> 63 <xsl:if test="(0 != string-length($indicatorView/EXTERNAL_CONTENT_URL))"> 64 <xsl:call-template name="Page.insertAJAXContent"> 65 <xsl:with-param name="sourceContentURL" select="$indicatorView/EXTERNAL_CONTENT_URL"/> 66 <xsl:with-param name="sourceContentJQuerySelector" select="$indicatorView/EXTERNAL_CONTENT_SELECTOR"/> 67 <xsl:with-param name="destContentJQuerySelector" 68 select="if(0 != string-length($indicatorView/EXTERNAL_CONTENT_DEST_SELECTOR)) 69 then $indicatorView/EXTERNAL_CONTENT_DEST_SELECTOR 70 else 'sectionsContainer'" 71 /> 72 </xsl:call-template> 73 </xsl:if> 72 74 </xsl:template> 73 75
Note: See TracChangeset
for help on using the changeset viewer.