Uploaded image for project: 'Offre de formation'
  1. Offre de formation
  2. ODF-782

The program list page does not use the template named program-list

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • 2.2.1, 2.3.0
    • 2.2.0
    • None
    • None
    • FF

      How to reproduce :

      • In the skin, surcharge the stylesheet of the template named program with :
        <xsl:template name="main-zone">
        		<a name="content"></a>
        		Program
        		<zone name="default" level="2"/>
        	</xsl:template>
      • Do the same with the stylesheet of the template named program-list with :
        <xsl:template name="main-zone">
        		<a name="content"></a>
        		Program List
        		<zone name="default" level="2"/>
        	</xsl:template>
      • Go to preview and clic on a program > the text "Program" appears
      • clic on the breadcrumbs links to browse in program list, > the text "Program" appears again.

          [ODF-782] The program list page does not use the template named program-list

          "Degree" and "Domain" now use the "program-list" template.

          Laurence Aumeunier added a comment - "Degree" and "Domain" now use the "program-list" template.

          Sorry, I just saw the template "program-list" in demo template but it is not used.

          Laurence Aumeunier added a comment - Sorry, I just saw the template "program-list" in demo template but it is not used.

          Laurence Aumeunier added a comment - - edited

          The template "program-list" does not exist in Ametys ..

          I am not sure what you called the "program list" page, but if you mean a virtual page under the ODF root page which list the programs by domain or not, the template used is "program". Unfortunately you can not change that.

          Laurence Aumeunier added a comment - - edited The template "program-list" does not exist in Ametys .. I am not sure what you called the "program list" page, but if you mean a virtual page under the ODF root page which list the programs by domain or not, the template used is "program". Unfortunately you can not change that.

            Unassigned Unassigned
            llopez Laure Lopez
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: