Changeset 3738 in main


Ignore:
Timestamp:
04/22/12 13:02:09 (10 years ago)
Author:
Garth Braithwaite
Message:

View webapp - View webapp - Ticket 167. Added the More Resources and Links to the Complete Indicator Profile Report. Split the Reources and Links code from the other resources Page.xslt template to the main indicator.xslt then added the template call to complete profile and other resources.

Location:
trunk/src/main/webapps/ibisph-view/xslt/html/indicator/profile
Files:
3 edited

Legend:

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

    r3305 r3738  
    430430        </xsl:template>
    431431
     432
     433        <xsl:template name="Indicator.moreResourcesAndLinks"
     434                ibis:doc="Localizes handling/display control of the More Resources And
     435                        Links section.
     436                "
     437        >
     438                <xsl:param name="indicator" select="$indicator"/>
     439
     440                <xsl:if test="string-length($indicator/RESOURCES_REFERENCES_LINKS) &gt; 0">
     441                <h1>References and Community Resources</h1>
     442                        <xsl:call-template name="Page.carriageReturnToBRTag">
     443                                <xsl:with-param name="text" select="$indicator/RESOURCES_REFERENCES_LINKS"/>
     444                        </xsl:call-template>
     445                        <br/><br/>
     446                </xsl:if>
     447
     448                <!-- More Resources Text -->
     449                <h1>More Resources and Links</h1>
     450
     451                Evidence-based community health improvement ideas and interventions may be found at the following sites:<br/>
     452                <ul>
     453                        <li><a href="http://www.thecommunityguide.org/index.html">The Guide to Community Preventive Services </a></li>
     454                        <li><a href="http://http://healthindicators.gov">Health Indicators Warehouse</a></li>
     455                        <li><a href="http://www.countyhealthrankings.org">County Health Rankings</a></li>
     456                        <li><a href="http://www.healthypeople.gov">Healthy People 2020 Website</a></li>
     457                </ul><br/>
     458
     459                Additional indicator data by state and county may be found on these Websites:<br/>
     460                <ul>
     461                        <li><a href="http://http://healthindicators.gov">Health Indicators Warehouse</a></li>
     462                        <li><a href="http://www.countyhealthrankings.org">County Health Rankings</a></li>
     463                        <li>Kaiser Family Foundation's <a href="http://www.statehealthfacts.org/">StateHealthFacts.org</a></li>
     464                        <li>CDC WONDER's <a href="http://wonder.cdc.gov/data2010/">DATA2010</a></li>, the Healthy People 2010 Database.
     465                </ul><br/>
     466
     467                Medical literature can be queried at the <a href="http://www.ncbi.nlm.nih.gov/entrez/query.fcgi?">PubMed</a> website.
     468                <br/><br/>
     469                For an on-line medical dictionary, click on this <a href="http://www.nlm.nih.gov/medlineplus/mplusdictionary.html">Dictionary</a> link.
     470                <br/><br/>
     471        </xsl:template>
     472
    432473</xsl:stylesheet>
    433474<!-- ============================= End of File ============================= -->
  • trunk/src/main/webapps/ibisph-view/xslt/html/indicator/profile/complete_profile/Page.xslt

    r3225 r3738  
    119119                        </xsl:for-each>
    120120                </xsl:if>
     121                <br/>
     122
     123                <xsl:call-template name="Indicator.moreResourcesAndLinks">
     124                        <xsl:with-param name="indicator" select="$indicator"/>
     125                </xsl:call-template>
    121126
    122127                <xsl:call-template name="Indicator.allDates"/>
  • trunk/src/main/webapps/ibisph-view/xslt/html/indicator/profile/other_resources/Page.xslt

    r3225 r3738  
    5454                        size to compensate for small resource text."
    5555        >
    56                 <xsl:if test="string-length($indicator/RESOURCES_REFERENCES_LINKS) &gt; 0">
    57                 <h1>References and Community Resources</h1>
    58                         <xsl:call-template name="Page.carriageReturnToBRTag">
    59                                 <xsl:with-param name="text" select="$indicator/RESOURCES_REFERENCES_LINKS"/>
    60                         </xsl:call-template>
    61                         <br/><br/>
    62                 </xsl:if>
    63 
    64                 <!-- More Resources Text -->
    65                 <h1>More Resources and Links</h1>
    66 
    67                 Evidence-based community health improvement ideas and interventions may be found at the following sites:<br/>
    68                 <ul>
    69                         <li><a href="http://www.thecommunityguide.org/index.html">The Guide to Community Preventive Services </a></li>
    70                         <li><a href="http://http://healthindicators.gov">Health Indicators Warehouse</a></li>
    71                         <li><a href="http://www.countyhealthrankings.org">County Health Rankings</a></li>
    72                         <li><a href="http://www.healthypeople.gov">Healthy People 2020 Website</a></li>
    73                 </ul><br/>
    74 
    75                 Additional indicator data by state and county may be found on these Websites:<br/>
    76                 <ul>
    77                         <li><a href="http://http://healthindicators.gov">Health Indicators Warehouse</a></li>
    78                         <li><a href="http://www.countyhealthrankings.org">County Health Rankings</a></li>
    79                         <li>Kaiser Family Foundation's <a href="http://www.statehealthfacts.org/">StateHealthFacts.org</a></li>
    80                         <li>CDC WONDER's <a href="http://wonder.cdc.gov/data2010/">DATA2010</a></li>, the Healthy People 2010 Database.
    81                 </ul><br/>
    82 
    83                 Medical literature can be queried at the <a href="http://www.ncbi.nlm.nih.gov/entrez/query.fcgi?">PubMed</a> website.
    84                 <br/><br/>
    85                 For an on-line medical dictionary, click on this <a href="http://www.nlm.nih.gov/medlineplus/mplusdictionary.html">Dictionary</a> link.
    86                 <br/><br/>
    87 
     56                <xsl:call-template name="Indicator.moreResourcesAndLinks">
     57                        <xsl:with-param name="indicator" select="$indicator"/>
     58                </xsl:call-template>
    8859        </xsl:template>
    8960
     
    9162<!-- ============================= End of File ============================= -->
    9263
    93 <!-- ALSO WORKS:
    94                 <h1>More Information for
    95                         <xsl:choose>
    96                                 <xsl:when test="string-length(INDICATOR/MORE_RESOURCES_TITLE) &gt; 0">
    97                                         <xsl:value-of select="INDICATOR/MORE_RESOURCES_TITLE"/>
    98                                 </xsl:when>
    99                                 <xsl:otherwise>
    100                                         <xsl:value-of select="INDICATOR/TITLE"/>
    101                                 </xsl:otherwise>
    102                         </xsl:choose>
    103                 </h1>
    104 -->
    105 
Note: See TracChangeset for help on using the changeset viewer.