Changes for page Available
From version 62.3
edited by Andrea Omicini
on 30/06/2023 12:05
on 30/06/2023 12:05
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 (2 modified, 0 added, 0 removed)
Details
- Page properties
-
- Title
-
... ... @@ -1,1 +1,0 @@ 1 -$services.localization.render('showcase') - Content
-
... ... @@ -1,60 +1,9 @@ 1 -{{velocity}} 2 -{{html clean="false" wiki="true"}} 3 -#template('apice_theses.vm') 4 -#template('apice_macros.vm') 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}} [[{{stringEngIta eng="clouds" ita="nuvole"/}}>>${userSpace}.${mainSpace}.Clouds.WebHome]] {{italiano}}delle tesi{{/italiano}} 41 - #if( $xwiki.exists("${userSpace}.${mainSpace}.Clouds.Tags") ) 42 -** [[$services.localization.render('tags')>>${userSpace}.${mainSpace}.Clouds.Tags]] 43 - #end 44 - #end 45 -## CLOUDS / END 46 -## 47 -## PER STATUS / START 48 - #if( $xwiki.exists("${userSpace}.${mainSpace}.PerStatus") ) 49 -* {$services.localization.render('theses') [[$services.localization.render('perstatus')>>${userSpace}.${mainSpace}.PerStatus]] 50 - #foreach( $status in $statuses ) 51 -#if( !$foreach.first ), #{else}** #end[[{{thesisStatus plural="true" uppercase="false" short='true'}}$status{{/thesisStatus}}>>${userSpace}.${mainSpace}.PerStatus||queryString='status=$status']]#end 1 += {{italiano}}Vetrina{{/italiano}}{{english}}Showcase{{/english}} = 52 52 53 - #end54 -# #PERSTATUS/END3 +{{include reference="Theses.Environment" excludeFirstHeading="true"/}}{{velocity}} 4 +#set( $thesisMenu = true ) 55 55 ## 56 -#### USER SHOWCASE / END 57 -#else 6 +#if( !$userName || $userName == "" || !$userSpace || $userSpace == "" || !$userFullname || $userFullname == "" ) 58 58 #### GENERAL SHOWCASE / START 59 59 ## 60 60 ## set control variables ... ... @@ -114,6 +114,82 @@ 114 114 ## BY CONTENT / END 115 115 ## 116 116 #### GENERAL SHOWCASE / END 66 +#else 67 +#### USER SHOWCASE / START 68 +## 69 +## set control varibles 70 +## 71 +#if( $showAvailableTheses ) 72 + #set( $statuses = $allThesisStatuses ) 73 +#else 74 + #set( $statuses = $workingThesisStatuses ) 117 117 #end 118 -{{/html}} 119 -{{/velocity}}{{pageDisplay sort="objectservice"/}} 76 +#if( $showPhDTheses ) 77 + #set( $cycles = $allThesisCycles ) 78 +#else 79 + #set( $cycles = $lowThesisCycles ) 80 +#end 81 +## 82 +### APICE / START 83 +#if( $apiceTheses ) 84 +## PER STATUS / START 85 + #if( $xwiki.exists("${userSpace}.${objectSpace}.PerStatus") ) 86 +* {{stringEngIta eng="theses" ita="tesi"/}} [[{{stringEngIta eng="per status" ita="per stato"/}}>>${userSpace}.${objectSpace}.PerStatus]] 87 + #foreach( $status in $statuses ) 88 +#if( !$foreach.first ), #{else}** #end[[{{thesisStatus plural="true" uppercase="false" short='true'}}$status{{/thesisStatus}}>>${userSpace}.${objectSpace}.PerStatus||queryString='status=$status']]#end 89 + 90 + #end 91 +## PER STATUS / END 92 +## 93 +## PER YEAR / START 94 + #if( $xwiki.exists("${userSpace}.${objectSpace}.PerYear") ) 95 +* {{thesisStatus plural="true" upperCase="false" short="false"}}completed{{/thesisStatus}} [[{{stringEngIta eng="per year" ita="per anno"/}}>>${userSpace}.${objectSpace}.PerYear]] 96 +** #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 97 + 98 + #end 99 +## PER YEAR / END 100 +## 101 +## PER CYCLE / START 102 + #if( $xwiki.exists("${userSpace}.${objectSpace}.PerCycle") ) 103 +* {{thesisStatus plural="true" upperCase="false" short="false"}}completed{{/thesisStatus}} [[{{stringEngIta eng="per cycle" ita="per livello"/}}>>${userSpace}.${objectSpace}.PerCycle]] 104 +** #foreach( $cycle in $cycles ) 105 +#if( !$foreach.first ), #end[[{{thesisCycle plural="true" uppercase="false" short='true'}}$cycle{{/thesisCycle}}>>${userSpace}.${objectSpace}.PerCycle||queryString='cycle=$cycle']]#end 106 + 107 + #end 108 +## PER CYCLE / END 109 +## 110 +## PER ROLE / START 111 + #if( $xwiki.exists("${userSpace}.${objectSpace}.PerStatus") ) 112 +##* {{stringEngIta eng="theses" ita="tesi"/}} [[{{stringEngIta eng="per status & role" ita="per stato e ruolo"/}}>>${userSpace}.${objectSpace}.PerStatus]] 113 +* {{stringEngIta eng="theses" ita="tesi"/}} {{stringEngIta eng="per role" ita="per ruolo"/}} 114 + #foreach( $role in $allThesisRoles ) 115 +#if( !$foreach.first ), #{else}** #end[[{{thesisRole plural="false" uppercase="false" short='true'}}$role{{/thesisRole}}>>${userSpace}.${objectSpace}.PerStatus||queryString='role=$role']]#end 116 + 117 + #end 118 +## PER ROLE / END 119 +## 120 +## CLOUDS / START 121 + #if( $xwiki.exists("${userSpace}.${objectSpace}.Clouds.WebHome") ) 122 +* {{english}}thesis{{/english}} [[{{stringEngIta eng="clouds" ita="nuvole"/}}>>${userSpace}.${objectSpace}.Clouds.WebHome]] {{italiano}}delle tesi{{/italiano}} 123 + #if( $xwiki.exists("${userSpace}.${objectSpace}.Clouds.Tags") ) 124 +** [[{{stringEngIta eng="tags" ita="tag" /}}>>${userSpace}.${objectSpace}.Clouds.Tags]] 125 + #end 126 + #end 127 +## CLOUDS / END 128 + #end 129 +### APICE / END 130 +## 131 +## OTHER / START 132 + #if( $amsTheses ) 133 +> In AMS 134 +## 135 +* [[AMS Laurea>>http://amslaurea.unibo.it/view/relatore/$userLastName=3A$userFirstName=3A=3A/||target="_blank"]] 136 + #if( $showPhDTheses ) 137 +* [[AMS Dottorato>>http://amsdottorato.unibo.it/view/relatore/$userLastName=3A$userFirstName=3A=3A.html||target="_blank"]] 138 + #end 139 + #end 140 +## OTHER / END 141 +## 142 +#### USER SHOWCASE / END 143 +#end 144 +{{/velocity}}