Changes for page Showcase
From version 50.8
edited by Andrea Omicini
on 20/07/2023 01:12
on 20/07/2023 01:12
Change comment:
There is no comment for this version
To version 50.11
edited by Andrea Omicini
on 20/07/2023 01:16
on 20/07/2023 01:16
Change comment:
There is no comment for this version
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -50,26 +50,31 @@ 50 50 ## START PER YEAR 51 51 #set( $firstYearCourse1 = $firstYearCourse + 1 ) 52 52 <li>$services.localization.render('courses').toLowerCase() [[$services.localization.render('peryear').toLowerCase()>>${mainSpace}.PerYear||queryString="from=$firstYearCourse&to=$lastYearCourse"]]</li> 53 -<ul> 53 +<ul><li> 54 54 #foreach( $year in [$lastYearCourse..$firstYearCourse] ) 55 55 #set( $year1 = $year + 1 ) 56 -<li>#if( $foreach.count < $maxCourseYears || ( $foreach.count == $maxCourseYears && $year == $firstYearCourse) )[[$year/$year1>>${mainSpace}.PerYear||queryString="year=$year"]]#if( !$foreach.last), #end#elseif( $foreach.count == $maxCourseYears )[[$year/$year1–$firstYearCourse/$firstYearCourse1>>${mainSpace}.PerYear||queryString="from=$firstYearCourse&to=$year"]]#else 57 - #break#end</li> 56 + #if( $foreach.count < $maxCourseYears || ( $foreach.count == $maxCourseYears && $year == $firstYearCourse) ) 57 + [[$year/$year1>>${mainSpace}.PerYear||queryString="year=$year"]]#if( !$foreach.last), #end 58 + #elseif( $foreach.count == $maxCourseYears ) 59 + [[$year/$year1–$firstYearCourse/$firstYearCourse1>>${mainSpace}.PerYear||queryString="from=$firstYearCourse&to=$year"]] 60 + #else 61 + #break 62 + #end 58 58 #end 59 -</ul> 64 +</li></ul> 60 60 ## END PER YEAR 61 61 ## 62 62 ## START CLOUDS 63 63 #if( $xwiki.exists("${mainSpace}.Clouds.WebHome") ) 64 64 <li>[[$services.localization.render('courseclouds').toLowerCase()>>${mainSpace}.Clouds.WebHome]]</li> 65 -<ul> 70 +<ul><li> 66 66 #if( $xwiki.exists("${mainSpace}.Clouds.Tags") ) 67 - <li>[[$services.localization.render('tags').toLowerCase()>>${mainSpace}.Clouds.Tags]]</li>72 + [[$services.localization.render('tags').toLowerCase()>>${mainSpace}.Clouds.Tags]]#if( $xwiki.exists("${mainSpace}.Clouds.ProjectTags") ), #end 68 68 #end 69 - <li>#if( $xwiki.exists("${mainSpace}.Clouds.ProjectTags") )70 - [[{{stringEngIta eng="project tags" ita="tag progetti"/}}>>${mainSpace}.Clouds.ProjectTags]] </li>74 + #if( $xwiki.exists("${mainSpace}.Clouds.ProjectTags") ) 75 + [[{{stringEngIta eng="project tags" ita="tag progetti"/}}>>${mainSpace}.Clouds.ProjectTags]] 71 71 #end 72 -</ul></ul> 77 +</li></ul></ul> 73 73 #end 74 74 ## END CLOUDS 75 75 #### END GENERAL SHOWCASE