The
Code: Select all
'renderMultiLingual...'
We made the foillowing adaptation :
For the name
Code: Select all
<!--NEW i18n CODE -->
<xsl:call-template name="RenderInstanceLink">
<xsl:with-param name="theSubjectInstance" select="$currentRepresentation"/>
<xsl:with-param name="anchorClass" select="'text-primary'"/>
</xsl:call-template>
<!-- OLD CODE COMMENTED
<span class="text-primary">
<xsl:value-of select="$currentRepresentation/own_slot_value[slot_reference = 'name']/value"/>
</span>
-->
Code: Select all
<!--NEW i18n CODE -->
<p>
<xsl:call-template name="RenderMultiLangInstanceDescription">
<xsl:with-param name="theSubjectInstance" select="$currentRepresentation"/>
</xsl:call-template>
</p>
<!-- OLD CODE COMMENTED
<xsl:variable name="description" select="$currentRepresentation/own_slot_value[slot_reference = 'description']/value"/>
<xsl:if test="not(count($description) > 0)">-</xsl:if>
<xsl:value-of select="$description"/>
-->
Tshitshi