Changeset 35277
- Timestamp:
- 2021-08-10T17:12:05+12:00 (3 years ago)
- Location:
- main/trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
main/trunk/model-interfaces-dev/wmtb/transform/pages/home.xsl
r35256 r35277 207 207 <xsl:template match="group" name="customGroupDescription"> 208 208 209 <xsl:variable name="short"><xsl:value-of select="shortDescription"/></xsl:variable> 210 <xsl:variable name="desc"><xsl:value-of select="description"/></xsl:variable> 209 <xsl:variable name="title"><xsl:value-of select="displayItemList/displayItem[@name='name']"/></xsl:variable> 210 <xsl:variable name="short"><xsl:value-of select="displayItemList/displayItem[@name='shortDescription']"/></xsl:variable> 211 <xsl:variable name="desc"><xsl:value-of select="displayItemList/displayItem[@name='description']"/></xsl:variable> 212 <xsl:variable name="bgImg"><xsl:value-of select="displayItemList/displayItem[@name='backgroundImage']"/></xsl:variable> 211 213 <xsl:variable name="group_href"><xsl:value-of select="$library_name"/>/group/<xsl:if test="/page/pageRequest/paramList/param[@name='group']"><xsl:value-of select="/page/pageRequest/paramList/param[@name='group']/@value"/>/</xsl:if><xsl:value-of select="@name"/></xsl:variable> 212 214 213 215 <div class="img-and-desc"> 214 216 <!-- if there is an image for this group, this is displayed --> 215 <xsl:if test="util:checkFileExistence($site_name, backgroundImage)">217 <xsl:if test="util:checkFileExistence($site_name, $bgImg)"> 216 218 <div class="wsite-image wsite-image-border-thin " style="padding-top:10px;padding-bottom:10px;margin-left:0;margin-right:0;text-align:center"> 217 219 <!-- the group (pou) image links to the collection's about page --> … … 219 221 <div style="background-color:#404040;margin-left:11px; margin-right: 11px;"> 220 222 <img class="groupLinkImage"> 221 <xsl:attribute name="alt"><xsl:value-of select=" @name"/></xsl:attribute>222 <xsl:attribute name="title"><xsl:value-of select=" @name"/></xsl:attribute>223 <xsl:attribute name="alt"><xsl:value-of select="$title"/></xsl:attribute> 224 <xsl:attribute name="title"><xsl:value-of select="$title"/></xsl:attribute> 223 225 <xsl:attribute name="style"><xsl:text>max-width:100%;opacity:0.4;padding: 0 !important;</xsl:text></xsl:attribute> 224 <xsl:attribute name="src">sites/<xsl:value-of select="$site_name"/>/<xsl:value-of select=" backgroundImage"/></xsl:attribute>226 <xsl:attribute name="src">sites/<xsl:value-of select="$site_name"/>/<xsl:value-of select="$bgImg"/></xsl:attribute> 225 227 </img> 226 228 </div> -
main/trunk/model-sites-dev/opotiki/groupConfig.xml
r34631 r35277 59 59 <groupDescriptions> 60 60 <group name="culture"> 61 <title>WhakatÅheatanga - Culture</title> 62 <description>Kia pÅ«mau ki to tÄtou WhakatÅheatanga. 63 <br />Culturally empowered, fully conversant in Te Reo me ngÄ tikanga o WhakatÅhea</description> 64 <shortDescription>Pou WhakatÅheatanga - Culture</shortDescription> 65 <backgroundImage>images/pou-01-whakatoheatanga.jpg</backgroundImage> 61 <displayItemList> 62 <displayItem name="name">WhakatÅheatanga - Culture</displayItem> 63 <displayItem name="description">Kia pÅ«mau ki to tÄtou WhakatÅheatanga. 64 <br />Culturally empowered, fully conversant in Te Reo me ngÄ tikanga o WhakatÅhea</displayItem> 65 <displayItem name="shortDescription">Pou WhakatÅheatanga - Culture</displayItem> 66 <displayItem name="backgroundImage">images/pou-01-whakatoheatanga.jpg</displayItem> 67 </displayItemList> 66 68 </group> 67 69 <group name="health"> 68 <title>Hauora - Health</title> 69 <description>WhÄnau ora, hapÅ« ora, ka ora ai te Iwi<br /> 70 When our WhÄnau and hapÅ« are well our Iwi will thrive</description> 71 <shortDescription>Pou Hauora - Health</shortDescription> 72 <backgroundImage>images/pou-02-hauora.jpg</backgroundImage> 70 <displayItemList> 71 <displayItem name="name">Hauora - Health</displayItem> 72 <displayItem name="description">WhÄnau ora, hapÅ« ora, ka ora ai te Iwi<br /> 73 When our WhÄnau and hapÅ« are well our Iwi will thrive</displayItem> 74 <displayItem name="shortDescription">Pou Hauora - Health</displayItem> 75 <displayItem name="backgroundImage">images/pou-02-hauora.jpg</displayItem> 76 </displayItemList> 73 77 </group> 74 78 <group name="education"> 75 <title>MÄtauranga - Education</title> 76 <description>Ko te mÄtauranga te waka e kawe nei ngÄ wawata<br /> 77 Education is the vehicle to realizing our potential dreams and aspirations</description> 78 <shortDescription>Pou MÄtauranga - Education</shortDescription> 79 <backgroundImage>images/pou-03-matauranga.jpg</backgroundImage> 79 <displayItemList> 80 <displayItem name="name">MÄtauranga - Education</displayItem> 81 <displayItem name="description">Ko te mÄtauranga te waka e kawe nei ngÄ wawata<br /> 82 Education is the vehicle to realizing our potential dreams and aspirations</displayItem> 83 <displayItem name="shortDescription">Pou MÄtauranga - Education</displayItem> 84 <displayItem name="backgroundImage">images/pou-03-matauranga.jpg</displayItem> 85 </displayItemList> 80 86 </group> 81 87 <group name="economics"> 82 <title>Whai Rawa - Economics</title> 83 <description>MÄ te whai rawa ka pÅ«Äwai te mana o WhakatÅhea<br /> 84 Having an abundance of jobs and flourishing commercial activities, 85 through collective strength.</description> 86 <shortDescription>Pou Whai Rawa - Economic Development</shortDescription> 87 <backgroundImage>images/pou-04-whai-rawa.jpg</backgroundImage> 88 <displayItemList> 89 <displayItem name="name">Whai Rawa - Economics</displayItem> 90 <displayItem name="description">MÄ te whai rawa ka pÅ«Äwai te mana o WhakatÅhea<br /> 91 Having an abundance of jobs and flourishing commercial activities, 92 through collective strength.</displayItem> 93 <displayItem name="shortDescription">Pou Whai Rawa - Economic Development</displayItem> 94 <displayItem name="backgroundImage">images/pou-04-whai-rawa.jpg</displayItem> 95 </displayItemList> 88 96 </group> 89 97 <group name="social"> 90 <title>Manaakitanga - Social</title> 91 <description>Manaaki i te tangata MÄ te whÄnaunga, he tangata kotahi tÄtou<br /> 92 Empowered whÄnau to build strong relationships</description> 93 <shortDescription>Pou Manaakitanga - Social, Wellbeing</shortDescription> 94 <backgroundImage>images/pou-05-manaakitanga.jpg</backgroundImage> 98 <displayItemList> 99 <displayItem name="name">Manaakitanga - Social</displayItem> 100 <displayItem name="description">Manaaki i te tangata MÄ te whÄnaunga, he tangata kotahi tÄtou<br /> 101 Empowered whÄnau to build strong relationships</displayItem> 102 <displayItem name="shortDescription">Pou Manaakitanga - Social, Wellbeing</displayItem> 103 <displayItem name="backgroundImage">images/pou-05-manaakitanga.jpg</displayItem> 104 </displayItemList> 95 105 </group> 96 106 <group name="environment"> 97 <title>Toi Ora - Environment</title> 98 <description>Te tino rangatiratanga o a tÄtou whenua, o a tÄtou moana, awa me o tÄtou tÄonga katoa.<br /> 99 We are active partners and kaitiaki (stewards) of our natural resources.</description> 100 <shortDescription>Pou Toi Ora - Environment, Sustainability</shortDescription> 101 <backgroundImage>images/pou-06-toi-ora.jpg</backgroundImage> 107 <displayItemList> 108 <displayItem name="name">Toi Ora - Environment</displayItem> 109 <displayItem name="description">Te tino rangatiratanga o a tÄtou whenua, o a tÄtou moana, awa me o tÄtou tÄonga katoa.<br /> 110 We are active partners and kaitiaki (stewards) of our natural resources.</displayItem> 111 <displayItem name="shortDescription">Pou Toi Ora - Environment, Sustainability</displayItem> 112 <displayItem name="backgroundImage">images/pou-06-toi-ora.jpg</displayItem> 113 </displayItemList> 102 114 </group> 103 115 </groupDescriptions>
Note:
See TracChangeset
for help on using the changeset viewer.