Changes for page Showcase

From version 29.8
edited by Andrea Omicini
on 15/03/2022 14:58
Change comment: There is no comment for this version
To version 29.9
edited by Andrea Omicini
on 15/03/2022 15:02
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -5,6 +5,7 @@
5 5  #set( $lastYearCourse1 = $lastYearCourse + 1 )
6 6  ##
7 7  #if( !( $userName && $userName != "" && $userSpace && $userSpace != "" && $userFullname && $userFullname != "" ) )
8 +#### START GENERAL SHOWCASE
8 8   #if( $lastYearCourse > $firstYearCourse && $xwiki.exists("Courses.PerYear") )
9 9  * [[{{stringEngIta eng="all courses" ita="tutti i corsi"/}}>>Courses.PerYear||queryString="from=$firstYearCourse&to=$lastYearCourse"]] {{stringEngIta eng="from" ita="dal"/}} $firstYearCourse/$firstYearCourse1 {{stringEngIta eng="to" ita="al"/}} $lastYearCourse/$lastYearCourse1 {{stringEngIta eng="ordered by A.Y." ita="ordinati per A.A."/}}
10 10   ##
... ... @@ -13,7 +13,7 @@
13 13   #set( $year1 = $year + 1 )
14 14  #if( $velocityCount < $maxCourseYears || ( $velocityCount == $maxCourseYears && $year == $firstYearCourse ) )#if( $velocityCount > 1 )(% style='color:$theme.textSecondaryColor' %),(%%) #end(% style='font-size:normal;font-stretch:normal' %)[[$year/$year1>>Courses.PerYear||queryString="year=$year"]](%%)#elseif( $velocityCount == $maxCourseYears )(% style='color:$theme.textSecondaryColor' %),(%%) (% style='font-size:normal;font-stretch:normal' %)[[$year/$year1–$firstYearCourse/$firstYearCourse1>>Courses.PerYear||queryString="from=$firstYearCourse&to=$year"]](%%)#end#end
15 15   #end
16 - ##
17 +#### END GENERAL SHOWCASE
17 17  #else
18 18  #### START USER SHOWCASE
19 19   #set( $courseMenu = true )