Changes for page Available
From version 55.1
edited by Andrea Omicini
on 29/01/2023 21:58
on 29/01/2023 21:58
Change comment:
There is no comment for this version
To version 61.1
edited by Andrea Omicini
on 30/01/2023 00:56
on 30/01/2023 00:56
Change comment:
There is no comment for this version
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -2,22 +2,36 @@ 2 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 ## 9 +## set control variables 10 +#set( $statuses = $allThesisStatuses ) 11 +##set( $statuses = $workingThesisStatuses ) 12 +#set( $cycles = $allThesisCycles ) 13 +##set( $cycles = $lowThesisCycles ) 14 +## 15 +## CLOUDS / START 16 + #if( $xwiki.exists("${objectSpace}.Clouds.WebHome") ) 17 +* {{english}}thesis{{/english}} [[{{stringEngIta eng="clouds" ita="nuvole"/}}>>${objectSpace}.Clouds.WebHome]] {{italiano}}delle tesi{{/italiano}} 18 + #set( $someDisplayed = false ) 19 + #if( $xwiki.exists("${objectSpace}.Clouds.Tags") ) 20 +#if( $someDisplayed ), #{else}** #end[[{{stringEngIta eng="tags" ita="tag"/}}>>${objectSpace}.Clouds.Tags]]## 21 + #set( $someDisplayed = true ) 22 + #end 23 + #if( $xwiki.exists("${objectSpace}.Clouds.Supervisors") ) 24 +#if( $someDisplayed ), #{else}** #end[[{{stringEngIta eng="supervisors" ita="supervisori"/}}>>${objectSpace}.Clouds.Supervisors]]## 25 + #set( $someDisplayed = true ) 26 + #end 27 + #if( $xwiki.exists("${objectSpace}.Clouds.Cosupervisors") ) 28 +#if( $someDisplayed ), #{else}** #end[[{{stringEngIta eng="co-supervisors" ita="co-supervisori"/}}>>${objectSpace}.Clouds.Cosupervisors]]## 29 + #set( $someDisplayed = true ) 30 + #end 31 + 32 + #end 33 +## CLOUDS / END 34 +## 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,68 @@ 66 66 #### GENERAL SHOWCASE / END 67 67 #else 68 68 #### USER SHOWCASE / START 69 - #if( $apiceTheses ) 68 +## 69 +## set control varibles 70 +## 71 +#if( $showAvailableTheses ) 72 + #set( $statuses = $allThesisStatuses ) 73 +#else 74 + #set( $statuses = $workingThesisStatuses ) 75 +#end 76 +#if( $showPhDTheses ) 77 + #set( $cycles = $allThesisCycles ) 78 +#else 79 + #set( $cycles = $lowThesisCycles ) 80 +#end 81 +## 82 +### APICE / START 83 +#if( $apiceTheses ) 70 70 ## PER STATUS / START 71 - #if( $xwiki.exists("${userSpace}.${objectSpace}.PerStatus") ) 85 + #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 ) 87 + #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 90 + #end 77 77 ## PER STATUS / END 78 78 ## 79 79 ## PER YEAR / START 80 - #if( $xwiki.exists("${userSpace}.${objectSpace}.PerYear") ) 94 + #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 98 + #end 85 85 ## PER YEAR / END 86 86 ## 87 87 ## PER CYCLE / START 88 - #if( $xwiki.exists("${userSpace}.${objectSpace}.PerCycle") ) 102 + #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 107 + #end 94 94 ## PER CYCLE / END 95 95 ## 96 96 ## PER ROLE / START 97 - #if( $xwiki.exists("${userSpace}.${objectSpace}.PerStatus") ) 111 + #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 117 + #end 104 104 ## PER ROLE / END 105 105 ## 106 106 ## CLOUDS / START 107 - #if( $xwiki.exists("${userSpace}.${objectSpace}.Clouds.WebHome") ) 121 + #if( $xwiki.exists("${userSpace}.${objectSpace}.Clouds.WebHome") ) 108 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") ) 123 + #if( $xwiki.exists("${userSpace}.${objectSpace}.Clouds.Tags") ) 110 110 ** [[{{stringEngIta eng="tags" ita="tag" /}}>>${userSpace}.${objectSpace}.Clouds.Tags]] 125 + #end 111 111 #end 112 - #end 113 113 ## CLOUDS / END 128 + #end 129 +### APICE / END 114 114 ## 115 115 ## OTHER / START 116 116 #if( $amsTheses )