Changes for page Available

From version 55.1
edited by Andrea Omicini
on 29/01/2023 21:58
Change comment: There is no comment for this version
To version 62.1
edited by Andrea Omicini
on 30/06/2023 11:35
Change comment: There is no comment for this version

Summary

Details

Page properties
Title
... ... @@ -1,0 +1,1 @@
1 +$services.localization.render('showcase')
Content
... ... @@ -1,23 +3,35 @@
1 -= {{italiano}}Vetrina{{/italiano}}{{english}}Showcase{{/english}} =
2 -
3 3  {{include reference="Theses.Environment" excludeFirstHeading="true"/}}{{velocity}}
4 4  #set( $thesisMenu = true )
5 -#set( $showAvailableTheses = true )
6 6  ##
7 -#if( $showAvailableTheses )
8 - #set( $statuses = $allThesisStatuses )
9 -#else
10 - #set( $statuses = $workingThesisStatuses )
11 -#end
12 -#if( $showPhDTheses )
13 - #set( $cycles = $allThesisCycles )
14 -#else
15 - #set( $cycles = $lowThesisCycles )
16 -#end
17 -##
18 18  #if( !$userName || $userName == "" || !$userSpace || $userSpace == "" || !$userFullname || $userFullname == "" )
19 19  #### GENERAL SHOWCASE / START
20 20  ##
7 +## set control variables
8 +#set( $statuses = $allThesisStatuses )
9 +##set( $statuses = $workingThesisStatuses )
10 +#set( $cycles = $allThesisCycles )
11 +##set( $cycles = $lowThesisCycles )
12 +##
13 +## CLOUDS / START
14 + #if( $xwiki.exists("${objectSpace}.Clouds.WebHome") )
15 +* {{english}}thesis{{/english}} [[{{stringEngIta eng="clouds" ita="nuvole"/}}>>${objectSpace}.Clouds.WebHome]] {{italiano}}delle tesi{{/italiano}}
16 + #set( $someDisplayed = false )
17 + #if( $xwiki.exists("${objectSpace}.Clouds.Tags") )
18 +#if( $someDisplayed ), #{else}** #end[[{{stringEngIta eng="tags" ita="tag"/}}>>${objectSpace}.Clouds.Tags]]##
19 + #set( $someDisplayed = true )
20 + #end
21 + #if( $xwiki.exists("${objectSpace}.Clouds.Supervisors") )
22 +#if( $someDisplayed ), #{else}** #end[[{{stringEngIta eng="supervisors" ita="supervisori"/}}>>${objectSpace}.Clouds.Supervisors]]##
23 + #set( $someDisplayed = true )
24 + #end
25 + #if( $xwiki.exists("${objectSpace}.Clouds.Cosupervisors") )
26 +#if( $someDisplayed ), #{else}** #end[[{{stringEngIta eng="co-supervisors" ita="co-supervisori"/}}>>${objectSpace}.Clouds.Cosupervisors]]##
27 + #set( $someDisplayed = true )
28 + #end
29 +
30 + #end
31 +## CLOUDS / END
32 +##
21 21  ## PER STATUS / START
22 22   #if( $xwiki.exists("${objectSpace}.PerStatus") )
23 23  * {{stringEngIta eng="theses" ita="tesi"/}} [[{{stringEngIta eng="per status" ita="per stato"/}}>>${objectSpace}.PerStatus]]
... ... @@ -42,21 +42,6 @@
42 42   #end
43 43  ## PER CYCLE / END
44 44  ##
45 -## CLOUDS / START
46 - #if( $xwiki.exists("${objectSpace}.Clouds.WebHome") )
47 -* {{english}}thesis{{/english}} [[{{stringEngIta eng="clouds" ita="nuvole"/}}>>${objectSpace}.Clouds.WebHome]] {{italiano}}delle tesi{{/italiano}}
48 - #set( $someDisplayed = false )
49 - #if( $xwiki.exists("${objectSpace}.Clouds.Tags") )
50 -#if( $someDisplayed ), #{else}** #end[[{{stringEngIta eng="tags" ita="tag"/}}>>${objectSpace}.Clouds.Tags]]##
51 - #set( $someDisplayed = true )
52 - #end
53 - #if( $xwiki.exists("${objectSpace}.Clouds.Supervisors") )
54 -#if( $someDisplayed ), #{else}** #end[[{{stringEngIta eng="supervisors" ita="supervisori"/}}>>${objectSpace}.Clouds.Supervisors]]##
55 - #set( $someDisplayed = true )
56 - #end
57 - #end
58 -## CLOUDS / END
59 -##
60 60  ## BY CONTENT / START
61 61   #if( $xwiki.exists("${objectSpace}.Search") )
62 62  * [[{{stringEngIta eng="search" ita="ricerca"/}}>>${objectSpace}.Search]] {{stringEngIta eng="theses by content" ita="tesi per contenuto"/}}
... ... @@ -66,51 +66,69 @@
66 66  #### GENERAL SHOWCASE / END
67 67  #else
68 68  #### USER SHOWCASE / START
69 - #if( $apiceTheses )
66 +##
67 +## set control varibles
68 +##
69 +#if( $showAvailableTheses )
70 + #set( $statuses = $allThesisStatuses )
71 +#else
72 + #set( $statuses = $workingThesisStatuses )
73 +#end
74 +#if( $showPhDTheses )
75 + #set( $cycles = $allThesisCycles )
76 +#else
77 + #set( $cycles = $lowThesisCycles )
78 +#end
79 +##
80 +### APICE / START
81 +#if( $apiceTheses )
82 +##
83 +## CLOUDS / START
84 + #if( $xwiki.exists("${userSpace}.${objectSpace}.Clouds.WebHome") )
85 +* {{english}}thesis{{/english}} [[{{stringEngIta eng="clouds" ita="nuvole"/}}>>${userSpace}.${objectSpace}.Clouds.WebHome]] {{italiano}}delle tesi{{/italiano}}
86 + #if( $xwiki.exists("${userSpace}.${objectSpace}.Clouds.Tags") )
87 +** [[{{stringEngIta eng="tags" ita="tag" /}}>>${userSpace}.${objectSpace}.Clouds.Tags]]
88 + #end
89 + #end
90 +## CLOUDS / END
91 +##
70 70  ## PER STATUS / START
71 - #if( $xwiki.exists("${userSpace}.${objectSpace}.PerStatus") )
93 + #if( $xwiki.exists("${userSpace}.${objectSpace}.PerStatus") )
72 72  * {{stringEngIta eng="theses" ita="tesi"/}} [[{{stringEngIta eng="per status" ita="per stato"/}}>>${userSpace}.${objectSpace}.PerStatus]]
73 - #foreach( $status in $statuses )
95 + #foreach( $status in $statuses )
74 74  #if( !$foreach.first ), #{else}** #end[[{{thesisStatus plural="true" uppercase="false" short='true'}}$status{{/thesisStatus}}>>${userSpace}.${objectSpace}.PerStatus||queryString='status=$status']]#end
75 75  
76 - #end
98 + #end
77 77  ## PER STATUS / END
78 78  ##
79 79  ## PER YEAR / START
80 - #if( $xwiki.exists("${userSpace}.${objectSpace}.PerYear") )
102 + #if( $xwiki.exists("${userSpace}.${objectSpace}.PerYear") )
81 81  * {{thesisStatus plural="true" upperCase="false" short="false"}}completed{{/thesisStatus}} [[{{stringEngIta eng="per year" ita="per anno"/}}>>${userSpace}.${objectSpace}.PerYear]]
82 82  ** #foreach( $year in [$lastYearThesis..$firstYearThesis] )#if( $foreach.count < $maxThesisYears || ($foreach.count == $maxThesisYears && $year == $firstYearThesis) )#if( !$foreach.first ), #end[[$year>>${userSpace}.${objectSpace}.PerYear||queryString="year=$year"]]#elseif( $foreach.count == $maxThesisYears ), [[$year–$firstYearThesis>>${userSpace}.${objectSpace}.PerYear||queryString="from=$firstYearThesis&to=$year"]]#end#end
83 83  
84 - #end
106 + #end
85 85  ## PER YEAR / END
86 86  ##
87 87  ## PER CYCLE / START
88 - #if( $xwiki.exists("${userSpace}.${objectSpace}.PerCycle") )
110 + #if( $xwiki.exists("${userSpace}.${objectSpace}.PerCycle") )
89 89  * {{thesisStatus plural="true" upperCase="false" short="false"}}completed{{/thesisStatus}} [[{{stringEngIta eng="per cycle" ita="per livello"/}}>>${userSpace}.${objectSpace}.PerCycle]]
90 90  ** #foreach( $cycle in $cycles )
91 91  #if( !$foreach.first ), #end[[{{thesisCycle plural="true" uppercase="false" short='true'}}$cycle{{/thesisCycle}}>>${userSpace}.${objectSpace}.PerCycle||queryString='cycle=$cycle']]#end
92 92  
93 - #end
115 + #end
94 94  ## PER CYCLE / END
95 95  ##
96 96  ## PER ROLE / START
97 - #if( $xwiki.exists("${userSpace}.${objectSpace}.PerStatus") )
119 + #if( $xwiki.exists("${userSpace}.${objectSpace}.PerStatus") )
98 98  ##* {{stringEngIta eng="theses" ita="tesi"/}} [[{{stringEngIta eng="per status & role" ita="per stato e ruolo"/}}>>${userSpace}.${objectSpace}.PerStatus]]
99 99  * {{stringEngIta eng="theses" ita="tesi"/}} {{stringEngIta eng="per role" ita="per ruolo"/}}
100 100   #foreach( $role in $allThesisRoles )
101 101  #if( !$foreach.first ), #{else}** #end[[{{thesisRole plural="false" uppercase="false" short='true'}}$role{{/thesisRole}}>>${userSpace}.${objectSpace}.PerStatus||queryString='role=$role']]#end
102 102  
103 - #end
104 -## PER ROLE / END
105 -##
106 -## CLOUDS / START
107 - #if( $xwiki.exists("${userSpace}.${objectSpace}.Clouds.WebHome") )
108 -* {{english}}thesis{{/english}} [[{{stringEngIta eng="clouds" ita="nuvole"/}}>>${userSpace}.${objectSpace}.Clouds.WebHome]] {{italiano}}delle tesi{{/italiano}}
109 - #if( $xwiki.exists("${userSpace}.${objectSpace}.Clouds.Tags") )
110 -** [[{{stringEngIta eng="tags" ita="tag" /}}>>${userSpace}.${objectSpace}.Clouds.Tags]]
111 111   #end
126 +## PER ROLE / END
112 112   #end
113 -## CLOUDS / END
128 +### APICE / END
114 114  ##
115 115  ## OTHER / START
116 116   #if( $amsTheses )