Changeset 34282 for main/trunk


Ignore:
Timestamp:
2020-07-22T18:16:59+12:00 (4 years ago)
Author:
ak19
Message:

Making group images in opotiki interface smaller so there's a better overview.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/model-interfaces-dev/opotiki/transform/pages/home.xsl

    r34269 r34282  
    163163        <xsl:when test="util:checkFileExistence($site_name, backgroundImage)">
    164164        <img class="groupLinkImage">
    165           <xsl:attribute name="alt"><xsl:value-of select="displayItemList/displayItem[@name='name']"/></xsl:attribute>
     165          <xsl:attribute name="alt"><xsl:value-of select="@name"/></xsl:attribute>
    166166          <xsl:attribute name="src">sites/<xsl:value-of select="$site_name"/>/<xsl:value-of select="backgroundImage"/></xsl:attribute>
     167          <xsl:attribute name="height">200px</xsl:attribute>
     168          <xsl:attribute name="style">float:right</xsl:attribute>
    167169        </img>
    168170        </xsl:when>     
    169171      </xsl:choose>
    170172
     173      <div style="clear:right">
    171174      <xsl:choose>
    172175        <!-- If the group has a description - display it -->
     
    179182        </xsl:otherwise>
    180183      </xsl:choose>
     184      </div>
    181185    </xsl:template>
    182186
Note: See TracChangeset for help on using the changeset viewer.