Changeset 34282

Show
Ignore:
Timestamp:
22.07.2020 18:16:59 (13 days ago)
Author:
ak19
Message:

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

Files:
1 modified

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