Changes for page Available
From version 63.2
edited by Andrea Omicini
on 30/06/2023 12:10
on 30/06/2023 12:10
Change comment:
There is no comment for this version
To version 58.1
edited by Andrea Omicini
on 29/01/2023 22:01
on 29/01/2023 22:01
Change comment:
There is no comment for this version
Summary
-
Page properties (2 modified, 0 added, 0 removed)
Details
- Page properties
-
- Title
-
... ... @@ -1,1 +1,0 @@ 1 -$services.localization.render('showcase') - Content
-
... ... @@ -1,79 +1,23 @@ 1 -{{velocity}} 2 -{{html clean="false" wiki="true"}} 3 -#template('apice_theses.vm') 4 -#template('apice_macros.vm') 1 += {{italiano}}Vetrina{{/italiano}}{{english}}Showcase{{/english}} = 2 + 3 +{{include reference="Theses.Environment" excludeFirstHeading="true"/}}{{velocity}} 4 +#set( $thesisMenu = true ) 5 +#set( $showAvailableTheses = true ) 5 5 ## 6 -#isuserspace() 7 -#if( $isUserSpace ) 8 - #template('apice_thesis_personal.vm') 9 - #userspace() 10 -## user space variables 11 - #set( $query = ", BaseObject as objPersonalPub, LargeStringProperty as propUser 12 - where objPersonalPub.name = doc.fullName and objPersonalPub.className = '$objectSpace.$objectClass' and propUser.id.id = objPersonalPub.id and propUser.name = 'user' and propUser.value = '$userName' " ) 13 - #set( $personalThesisDocs = $xwiki.searchDocuments($query) ) 14 - #if( $personalThesisDocs.size() > 0 ) 15 - #set( $personalThesisDoc = $xwiki.getDocument($personalThesisDocs[0]) ) 16 - #else 17 - #stop 18 - #end 19 - #if( $personalThesisDoc.maxYears && $personalThesisDoc.maxYears != "" ) 20 - #set( $maxPubYears = $personalThesisDoc.display('maxYears','view') ) 21 - #end 22 - #if( $personalThesisDoc.firstYear && $personalThesisDoc.firstYear != "" ) 23 - #set( $firstYearThesis = $personalThesisDoc.display('firstYear','view') ) 24 - #end 25 - #if( $personalThesisDoc.lastYear && $personalThesisDoc.lastYear != "" ) 26 - #set( $lastYearThesis = $personalThesisDoc.display('lastYear','view') ) 27 - #end 28 - #if( $personalThesisDoc.getValue('statuses').size() > 0 ) 29 - #set( $thesisStatuses = $personalThesisDoc.getValue('statuses') ) 30 - #end 31 - #if( $personalThesisDoc.getValue('cycles').size() > 0 ) 32 - #set( $thesisCycles = $personalThesisDoc.getValue('cycles') ) 33 - #end 34 - #set( $thesisAms = $personalThesisDoc.getValue('showAms') ) 35 -#### USER SHOWCASE / START 36 -## 37 -## set control varibles 38 -## CLOUDS / START 39 - #if( $xwiki.exists("${userSpace}.${mainSpace}.Clouds.WebHome") ) 40 -* {{english}}thesis{{/english}} [[{$services.localization.render('clouds').toLowerCase()>>${userSpace}.${mainSpace}.Clouds.WebHome]] {{italiano}}delle tesi{{/italiano}} 41 - #if( $xwiki.exists("${userSpace}.${mainSpace}.Clouds.Tags") ) 42 -** [[$services.localization.render('tags').toLowerCase()>>${userSpace}.${mainSpace}.Clouds.Tags]] 43 - #end 44 - #end 45 -## CLOUDS / END 46 -## 47 -#### USER SHOWCASE / END 7 +#if( $showAvailableTheses ) 8 + #set( $statuses = $allThesisStatuses ) 48 48 #else 10 + #set( $statuses = $workingThesisStatuses ) 11 +#end 12 +#if( $showPhDTheses ) 13 + #set( $cycles = $allThesisCycles ) 14 +#else 15 + #set( $cycles = $lowThesisCycles ) 16 +#end 17 +## 18 +#if( !$userName || $userName == "" || !$userSpace || $userSpace == "" || !$userFullname || $userFullname == "" ) 49 49 #### GENERAL SHOWCASE / START 50 50 ## 51 -## set control variables 52 -#set( $statuses = $allThesisStatuses ) 53 -##set( $statuses = $workingThesisStatuses ) 54 -#set( $cycles = $allThesisCycles ) 55 -##set( $cycles = $lowThesisCycles ) 56 -## 57 -## CLOUDS / START 58 - #if( $xwiki.exists("${objectSpace}.Clouds.WebHome") ) 59 -* {{english}}thesis{{/english}} [[{{stringEngIta eng="clouds" ita="nuvole"/}}>>${objectSpace}.Clouds.WebHome]] {{italiano}}delle tesi{{/italiano}} 60 - #set( $someDisplayed = false ) 61 - #if( $xwiki.exists("${objectSpace}.Clouds.Tags") ) 62 -#if( $someDisplayed ), #{else}** #end[[{{stringEngIta eng="tags" ita="tag"/}}>>${objectSpace}.Clouds.Tags]]## 63 - #set( $someDisplayed = true ) 64 - #end 65 - #if( $xwiki.exists("${objectSpace}.Clouds.Supervisors") ) 66 -#if( $someDisplayed ), #{else}** #end[[{{stringEngIta eng="supervisors" ita="supervisori"/}}>>${objectSpace}.Clouds.Supervisors]]## 67 - #set( $someDisplayed = true ) 68 - #end 69 - #if( $xwiki.exists("${objectSpace}.Clouds.Cosupervisors") ) 70 -#if( $someDisplayed ), #{else}** #end[[{{stringEngIta eng="co-supervisors" ita="co-supervisori"/}}>>${objectSpace}.Clouds.Cosupervisors]]## 71 - #set( $someDisplayed = true ) 72 - #end 73 - 74 - #end 75 -## CLOUDS / END 76 -## 77 77 ## PER STATUS / START 78 78 #if( $xwiki.exists("${objectSpace}.PerStatus") ) 79 79 * {{stringEngIta eng="theses" ita="tesi"/}} [[{{stringEngIta eng="per status" ita="per stato"/}}>>${objectSpace}.PerStatus]] ... ... @@ -98,6 +98,22 @@ 98 98 #end 99 99 ## PER CYCLE / END 100 100 ## 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 +## 58 + #end 59 +## CLOUDS / END 60 +## 101 101 ## BY CONTENT / START 102 102 #if( $xwiki.exists("${objectSpace}.Search") ) 103 103 * [[{{stringEngIta eng="search" ita="ricerca"/}}>>${objectSpace}.Search]] {{stringEngIta eng="theses by content" ita="tesi per contenuto"/}} ... ... @@ -105,6 +105,68 @@ 105 105 ## BY CONTENT / END 106 106 ## 107 107 #### GENERAL SHOWCASE / END 68 +#else 69 +#### USER SHOWCASE / START 70 +### APICE / START 71 +#if( $apiceTheses ) 72 +## PER STATUS / START 73 + #if( $xwiki.exists("${userSpace}.${objectSpace}.PerStatus") ) 74 +* {{stringEngIta eng="theses" ita="tesi"/}} [[{{stringEngIta eng="per status" ita="per stato"/}}>>${userSpace}.${objectSpace}.PerStatus]] 75 + #foreach( $status in $statuses ) 76 +#if( !$foreach.first ), #{else}** #end[[{{thesisStatus plural="true" uppercase="false" short='true'}}$status{{/thesisStatus}}>>${userSpace}.${objectSpace}.PerStatus||queryString='status=$status']]#end 77 + 78 + #end 79 +## PER STATUS / END 80 +## 81 +## PER YEAR / START 82 + #if( $xwiki.exists("${userSpace}.${objectSpace}.PerYear") ) 83 +* {{thesisStatus plural="true" upperCase="false" short="false"}}completed{{/thesisStatus}} [[{{stringEngIta eng="per year" ita="per anno"/}}>>${userSpace}.${objectSpace}.PerYear]] 84 +** #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 85 + 86 + #end 87 +## PER YEAR / END 88 +## 89 +## PER CYCLE / START 90 + #if( $xwiki.exists("${userSpace}.${objectSpace}.PerCycle") ) 91 +* {{thesisStatus plural="true" upperCase="false" short="false"}}completed{{/thesisStatus}} [[{{stringEngIta eng="per cycle" ita="per livello"/}}>>${userSpace}.${objectSpace}.PerCycle]] 92 +** #foreach( $cycle in $cycles ) 93 +#if( !$foreach.first ), #end[[{{thesisCycle plural="true" uppercase="false" short='true'}}$cycle{{/thesisCycle}}>>${userSpace}.${objectSpace}.PerCycle||queryString='cycle=$cycle']]#end 94 + 95 + #end 96 +## PER CYCLE / END 97 +## 98 +## PER ROLE / START 99 + #if( $xwiki.exists("${userSpace}.${objectSpace}.PerStatus") ) 100 +##* {{stringEngIta eng="theses" ita="tesi"/}} [[{{stringEngIta eng="per status & role" ita="per stato e ruolo"/}}>>${userSpace}.${objectSpace}.PerStatus]] 101 +* {{stringEngIta eng="theses" ita="tesi"/}} {{stringEngIta eng="per role" ita="per ruolo"/}} 102 + #foreach( $role in $allThesisRoles ) 103 +#if( !$foreach.first ), #{else}** #end[[{{thesisRole plural="false" uppercase="false" short='true'}}$role{{/thesisRole}}>>${userSpace}.${objectSpace}.PerStatus||queryString='role=$role']]#end 104 + 105 + #end 106 +## PER ROLE / END 107 +## 108 +## CLOUDS / START 109 + #if( $xwiki.exists("${userSpace}.${objectSpace}.Clouds.WebHome") ) 110 +* {{english}}thesis{{/english}} [[{{stringEngIta eng="clouds" ita="nuvole"/}}>>${userSpace}.${objectSpace}.Clouds.WebHome]] {{italiano}}delle tesi{{/italiano}} 111 + #if( $xwiki.exists("${userSpace}.${objectSpace}.Clouds.Tags") ) 112 +** [[{{stringEngIta eng="tags" ita="tag" /}}>>${userSpace}.${objectSpace}.Clouds.Tags]] 113 + #end 114 + #end 115 +## CLOUDS / END 116 + #end 117 +### APICE / END 118 +## 119 +## OTHER / START 120 + #if( $amsTheses ) 121 +> In AMS 122 +## 123 +* [[AMS Laurea>>http://amslaurea.unibo.it/view/relatore/$userLastName=3A$userFirstName=3A=3A/||target="_blank"]] 124 + #if( $showPhDTheses ) 125 +* [[AMS Dottorato>>http://amsdottorato.unibo.it/view/relatore/$userLastName=3A$userFirstName=3A=3A.html||target="_blank"]] 126 + #end 127 + #end 128 +## OTHER / END 129 +## 130 +#### USER SHOWCASE / END 108 108 #end 109 -{{/html}} 110 -{{/velocity}}{{pageDisplay sort="objectservice"/}} 132 +{{/velocity}}