source: main/trunk/ibisph-view/src/main/webapp/xslt/html/indicator/profile/more_resources/Page.xslt @ 19879

Last change on this file since 19879 was 19879, checked in by GarthBraithwaite_STG, 3 years ago

view - footer updates. text sections limited to 700px. Page content formatting and changes. Added goto submit for qm result. Fixed top margin for chart and maps. Limited MM css video to 400px. Changed org unit to authoring. Kendo template for table index page to change search placeholder to filter.

File size: 2.3 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2
3<xsl:stylesheet version="3.0" 
4        xmlns:xsl ="http://www.w3.org/1999/XSL/Transform" 
5        xmlns:ibis="http://www.ibisph.org"
6
7        exclude-result-prefixes="ibis"
8>
9        <xsl:import href="../Page.xslt"/>
10        <xsl:import href="../Indicator.xslt"/>
11
12
13        <ibis:doc>
14                <name>html/indicator/profile/more_resources/Page</name>
15                <summary>Default core code that produces the indicator profile resources page</summary>
16                <description>
17                        Specific XSLT used to create the indicator profile resources page.
18                </description>
19        </ibis:doc>
20
21        <xsl:param name="Page.pageTitle" ibis:doc="Page's title text based on the 'INDICATOR/TITLE' element.">
22                Health Indicator Report Other Resources - <xsl:value-of select="ibis:getIndicatorTitle($indicator)"/>
23        </xsl:param>
24
25
26        <!-- 11/30/04, Lois wanted to simplify so we went to the standard indicator
27                title and removed the more resources title.
28
29                <xsl:param name="title">
30                        <xsl:choose>
31                                <xsl:when test="string-length($indicator/MORE_RESOURCES_TITLE) != 0">
32                                        <xsl:value-of select="$indicator/MORE_RESOURCES_TITLE"/>
33                                </xsl:when>
34                                <xsl:otherwise>
35                                        <xsl:value-of select="$indicator/TITLE"/>
36                                </xsl:otherwise>
37                        </xsl:choose>
38                </xsl:param>
39                More Information for <xsl:value-of select="$title"/>
40        -->
41        <xsl:param name="Page.contentTitle" ibis:doc="Page's content block title text based on the 'INDICATOR/TITLE' element.">
42                More Information and References for <xsl:value-of select="ibis:getIndicatorTitle($indicator)"/>
43        </xsl:param>
44
45
46        <xsl:template name="Page.contentBody"
47                ibis:doc="Main page content template which lists the 'INDICATOR/
48                        'RESOURCES_REFERENCES_LINKS' element field.  This template also
49                        attempts to insert a series of HTML 'br' tags to adjust the page
50                        size to compensate for small resource text."
51        >
52                <xsl:call-template name="Page.options">
53                        <xsl:with-param name="title">Indicator Resources Page Options</xsl:with-param>
54                        <xsl:with-param name="pageType" select="'resources'"/>
55                </xsl:call-template>
56
57                <xsl:call-template name="Indicator.moreResourcesAndLinks">
58                        <xsl:with-param name="indicator" select="$indicator"/>
59                </xsl:call-template>
60        </xsl:template>
61
62</xsl:stylesheet>
63<!-- ============================= End of File ============================= -->
64
Note: See TracBrowser for help on using the repository browser.