Changeset 25064 in main
- Timestamp:
- 04/14/22 19:00:34 (5 weeks ago)
- Location:
- trunk/ibisph-view/src/main/webapp/xslt
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/ibisph-view/src/main/webapp/xslt/html/community/Page.xslt
r24330 r25064 72 72 /> 73 73 74 <!-- GARTH TODO: discuss with Lois/CoP 75 Implemented as a simple list so that adopters can override 74 <!-- 75 Parameter to control which communities show up in the selection list. 76 This is needed for NM because IBIS and EPHT share the same dimensions 77 of which EPHT only wants to use a few. 78 To implement an override / specify which dim names set the parameter 79 with a simple CSV list as shown below (or collection of NAME elements): 80 81 xsl:param name="Page.communityNames" select="'GeoCnty', 'GeoRegion', 82 'GeoSarea', 'GeoSchDist', 'RacEthDOH', 'Sex', 'SexualOrientation', 83 'Income5Grps'" 84 76 85 -or- 77 adopters can simply deselect the COMMUNITY_FLAG in the db for those 78 dimensions they don't want to be considered a community. 79 xsl:param name="Page.communityNames" select="$Page.dimensions/DIMENSION[exists(COMMUNITY_FLAG)]/NAME" 86 The preferred way is for adopters to only set the COMMUNITY_FLAG (admin 87 app) for those dimensions they want to be treated as a community. 80 88 --> 81 <xsl:param name="Page.communityNames" select="'GeoCnty', 'GeoRegion', 82 'GeoSarea', 'GeoSchDist', 'RacEthDOH', 'Sex', 'SexualOrientation', 83 'Income5Grps' 84 "/> 89 <xsl:param name="Page.communityNames" select="$Page.dimensions/DIMENSION[COMMUNITY_FLAG = 'x']/NAME"/> 85 90 86 91 <xsl:param name="DimensionName"/> … … 246 251 247 252 <table class="ListTable"> 248 249 253 <xsl:if test="(1 lt count($Page.communityNames)) and ('facts' != $communityReportType)"> 250 254 <tr> -
trunk/ibisph-view/src/main/webapp/xslt/json/xml-to-json.xslt
r18604 r25064 1 1 <?xml version="1.0" encoding="utf-8"?> 2 <xsl:stylesheet version=" 2.0"2 <xsl:stylesheet version="3.0" 3 3 xmlns:xsl="http://www.w3.org/1999/XSL/Transform" 4 4 xmlns:xs="http://www.w3.org/2001/XMLSchema"
Note: See TracChangeset
for help on using the changeset viewer.