-
Bug
-
Resolution: Unresolved
-
Major
-
4.2.0
-
None
I open a new issue to seperate the 2 things of this one : CMS-7698
How to reproduce it :
- I override the template "common-service-body-nonempty-content-title" into the skins\demo\services\web\pages\services\filtered-contents\list_3.3.xsl with this code :
<!-- Used in common.xsl --> <xsl:template name="common-service-body-nonempty-content-title"> <xsl:call-template name="rss"/> <xsl:call-template name="common-service-body-nonempty-content-title-content"> <xsl:with-param name="title" select="$service-title"/> <xsl:with-param name="default-title"><i18n:text i18n:key="SERVICE_FILTERED_CONTENTS_XSLT_FILES_ZOOM_LIST_LABEL" i18n:catalogue="skin.{$skin}"/></xsl:with-param> </xsl:call-template> </xsl:template>
- I add the i18key in the skins\demo\i18n\messages_fr.xml :
<!-- TEST --> <message key="SERVICE_FILTERED_CONTENTS_XSLT_FILES_ZOOM_LIST_LABEL">Mon titre par défaut</message>
- I preview the page http://localhost:8080/cms/preview/www/fr/fonctionnalites-avancees.html
> the title entered into the service parameter is displayed with a h2 tag, the titles of the contents filtered are displayed with h3 tag
- I modify the service parameter : I delete the title
- I preview again the page
> the title displayed is the default title and it is displayed with a h2 tag, BUT the title of the filtered contents are displayed with h2 tag too
Expected behavior :
The title of the filtered contents should be displayed with h3 tag.