Ignore:
Timestamp:
12/10/13 10:37:58 (9 years ago)
Author:
Garth Braithwaite
Message:

view webapp - first refactor of the map and graphic xslt code. This provides a more pluggable mechanism for different maps and charts to be adopted.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ibisph-view/src/main/webapp/xslt/html/indicator/profile/Page.xslt

    r4743 r5947  
    3232        </xsl:param>
    3333
    34         <xsl:param name="Page.metaDescription" select="$indicator/DESCRIPTION"
    35                 ibis:doc="Implementation that returns the INDICATOR/DESCRIPTION."
     34        <xsl:param name="Page.metaDescription" select="
     35                        if(string-length(/INDICATOR_VIEW/DESCRIPTION) != 0)then
     36                                concat(/INDICATOR/DESCRIPTION, ' ; ', /INDICATOR_VIEW/DESCRIPTION)
     37                        else
     38                                /INDICATOR/DESCRIPTION
     39                "
     40                ibis:doc="Implementation that returns the INDICATOR and INDICATOR_VIEW/DESCRIPTION."
    3641        />
     42        <xsl:param name="Page.metaKeywords" select="$Page.metaDescription"/>
    3743
    38         <xsl:param name="Page.metaKeywords" select="$indicator/DESCRIPTION"
    39                 ibis:doc="Implementation that returns the INDICATOR/DESCRIPTION."
    40         />
    4144
    4245        <xsl:param name="Page.orgUnitName" select="$indicator/ORG_UNIT_NAME"
Note: See TracChangeset for help on using the changeset viewer.