Show last authors
1 = {{italiano}}Vetrina{{/italiano}}{{english}}Showcase{{/english}} =
2
3 {{include reference="Courses.Environment" excludeFirstHeading="true"/}}{{velocity}}
4 #set( $firstYearCourse1 = $firstYearCourse + 1 )
5 #set( $lastYearCourse1 = $lastYearCourse + 1 )
6 ##
7 #if( !( $userName && $userName != "" && $userSpace && $userSpace != "" && $userFullname && $userFullname != "" ) )
8 #### START GENERAL SHOWCASE
9 ## START PER A.Y.
10 #if( $lastYearCourse > $firstYearCourse && $xwiki.exists("${objectSpace}.PerYear") )
11 * {{stringEngIta eng="courses" ita="corsi"/}} [[{{stringEngIta eng="per A.Y." ita="per A.A."/}}>>${objectSpace}.PerYear||queryString="from=$firstYearCourse&to=$lastYearCourse"]]
12 ** #foreach( $year in [$lastYearCourse..$firstYearCourse] )
13 #set( $year1 = $year + 1 )
14 #if( $foreach.count < $maxCourseYears || ( $foreach.count == $maxCourseYears && $year == $firstYearCourse ) )#if( $foreach.index > 0 )(% style='color:$theme.textSecondaryColor' %),(%%) #end(% style='font-size:normal;font-stretch:normal' %)[[$year/$year1>>${objectSpace}.PerYear||queryString="year=$year"]](%%)#elseif( $foreach.count == $maxCourseYears )(% style='color:$theme.textSecondaryColor' %),(%%) (% style='font-size:normal;font-stretch:normal' %)[[$year/$year1–$firstYearCourse/$firstYearCourse1>>${objectSpace}.PerYear||queryString="from=$firstYearCourse&to=$year"]](%%)#end#end
15
16 #end
17 ## END PER A.Y.
18 ## START CLOUDS
19 #set( $someCloudDisplayed = false )
20 #if( $xwiki.exists("${objectSpace}.Clouds.WebHome") )
21 * {{english}}course{{/english}} [[{{stringEngIta eng="clouds" ita="nuvole"/}}>>${objectSpace}.Clouds.WebHome]] {{italiano}}dei corsi{{/italiano}}
22 #if( $xwiki.exists("${objectSpace}.Clouds.Tags") )
23 ** #if( $someCloudDisplayed ), #else#set( $someCloudDisplayed = true )#end[[{{stringEngIta eng="tags" ita="tag"/}}>>${objectSpace}.Clouds.Tags]]#end#if( $xwiki.exists("${objectSpace}.Clouds.ProjectTags") )#if( $someCloudDisplayed ), #else#set( $someCloudDisplayed = true )#end[[{{stringEngIta eng="project tags" ita="tag progetti"/}}>>${objectSpace}.Clouds.ProjectTags]]
24 #end
25 #end
26 ## END CLOUDS
27 ## START BY CONTENT
28 #if( $xwiki.exists("${objectSpace}.Search") )
29 * [[{{stringEngIta eng="search" ita="ricerca"/}}>>Courses.Search]] {{stringEngIta eng="courses by content" ita="corsi per contenuto"/}}
30 #end
31 ## END BY CONTENT
32 #### END GENERAL SHOWCASE
33 #else
34 #### START USER SHOWCASE
35 #set( $courseMenu = true )
36 ## START PER A.Y.
37 #if( $lastYearCourse >= $firstYearCourse && $xwiki.exists("${userSpace}.${objectSpace}.PerYear") )
38 * {{stringEngIta eng="courses" ita="corsi"/}} [[{{stringEngIta eng="per A.Y." ita="per A.A."/}}>>${userSpace}.${objectSpace}.PerYear||queryString="from=$firstYearCourse&to=$lastYearCourse"]]
39 ##
40 ** #foreach( $year in [$lastYearCourse..$firstYearCourse] )
41 #set( $year1 = $year + 1 )
42 #if( $foreach.count < $maxCourseYears || ( $foreach.count == $maxCourseYears && $year == $firstYearCourse ) )#if( $foreach.index > 0 )(% style='color:$theme.textSecondaryColor' %),(%%) #end(% style='font-size:normal;font-stretch:normal' %)[[$year/$year1>>${userSpace}.${objectSpace}.PerYear||queryString="year=$year"]](%%)#elseif( $foreach.count == $maxCourseYears )(% style='color:$theme.textSecondaryColor' %),(%%) (% style='font-size:normal;font-stretch:normal' %)[[$year/$year1–$firstYearCourse/$firstYearCourse1>>${userSpace}.${objectSpace}.PerYear||queryString="from=$firstYearCourse&to=$year"]](%%)#end#end
43 #end
44 #### END USER SHOWCASE
45 #end
46 {{/velocity}}

Partita IVA: 01131710376 - Copyright © 2008-2022 APICe@DISI Research Group - PRIVACY