Modifiche per il documento Disponibili
Dalla versione 85.18
modificato da Andrea Omicini
il 28/09/2023 23:25
il 28/09/2023 23:25
Cambia il commento:
Nessun commento per questa versione
Alla versione 86.7
modificato da Andrea Omicini
il 28/09/2023 23:42
il 28/09/2023 23:42
Cambia il commento:
Nessun commento per questa versione
Summary
-
Page properties (3 modified, 0 added, 0 removed)
Details
- Page properties
-
- Titolo
-
... ... @@ -1,1 +1,1 @@ 1 -$services.localization.render(' showcase')1 +$services.localization.render('available') - Padre
-
... ... @@ -1,1 +1,1 @@ 1 - Theses.WebHome1 +WebHome - Content
-
... ... @@ -1,4 +2,3 @@ 1 -[[AMS Laurea>>http://prova.com]] 2 2 {{velocity}} 3 3 {{html clean="false" wiki="true"}} 4 4 #template('apice_url.vm') ... ... @@ -12,29 +12,6 @@ 12 12 #set( $query = ", BaseObject as objPersonalThesis, LargeStringProperty as propUser 13 13 where objPersonalThesis.name = doc.fullName and objPersonalThesis.className = '${objectSpace}.Class' and propUser.id.id = objPersonalThesis.id and propUser.name = 'user' and propUser.value = '$userName' " ) 14 14 #set( $personalThesisDocs = $xwiki.searchDocuments($query) ) 15 - #if( $personalThesisDocs.size() > 0 ) 16 - #set( $personalThesisDoc = $xwiki.getDocument($personalThesisDocs[0]) ) 17 - #else 18 - #stop 19 - #end 20 - #if( $personalThesisDoc.maxYears && $personalThesisDoc.maxYears != "" ) 21 - #set( $maxPubYears = $personalThesisDoc.display('maxYears','view') ) 22 - #end 23 - #if( $personalThesisDoc.firstYear && $personalThesisDoc.firstYear != "" ) 24 - #set( $firstYearThesis = $personalThesisDoc.display('firstYear','view') ) 25 - #end 26 - #if( $personalThesisDoc.lastYear && $personalThesisDoc.lastYear != "" ) 27 - #set( $lastYearThesis = $personalThesisDoc.display('lastYear','view') ) 28 - #end 29 - #if( $personalThesisDoc.getValue('statuses').size() > 0 ) 30 - #set( $thesisStatuses = $personalThesisDoc.getValue('statuses') ) 31 - #end 32 - #if( $personalThesisDoc.getValue('cycles').size() > 0 ) 33 - #set( $thesisCycles = $personalThesisDoc.getValue('cycles') ) 34 - #end 35 - #if( $personalThesisDoc.getValue('roles').size() > 0 ) 36 - #set( $thesisRoles = $personalThesisDoc.getValue('roles') ) 37 - #end 38 38 #if( $personalThesisDoc.ams && $personalThesisDoc.ams != "" ) 39 39 #set( $showAms = $personalThesisDoc.getValue('ams') ) 40 40 #end ... ... @@ -41,151 +41,13 @@ 41 41 #### USER SHOWCASE / START 42 42 ## 43 43 ## APICE / START 44 -<div><ul> 45 -## CLOUDS / START 46 - #if( $xwiki.exists("${userSpace}.${mainSpace}.Clouds.WebHome") ) 47 - <li> 48 - [[$services.localization.render('thesisclouds').toLowerCase()>>${userSpace}.${mainSpace}.Clouds.WebHome]] 49 - </li> 50 - <ul> 51 - #if( $xwiki.exists("${userSpace}.${mainSpace}.Clouds.Tags") ) 52 - <li> 53 - [[$services.localization.render('tags').toLowerCase()>>${userSpace}.${mainSpace}.Clouds.Tags]] 54 - </li> 55 - #end 56 - </ul> 57 - #end 58 -## CLOUDS / END 59 -## 60 -## PER STATUS / START 61 - #if( $xwiki.exists("${userSpace}.${mainSpace}.PerStatus") ) 62 - <li> 63 - $services.localization.render('theses').toLowerCase() [[$services.localization.render('perstatus').toLowerCase()>>${userSpace}.${mainSpace}.PerStatus]] 64 - </li> 65 - <ul><li> 66 - #foreach( $status in $thesisStatuses ) 67 - [[{{thesisStatus plural="true" uppercase="false" short='true'}}$status{{/thesisStatus}}>>${userSpace}.${mainSpace}.PerStatus||queryString='status=$status']]#if( !$foreach.last ), #end 68 - #end 69 - </li></ul> 70 - #end 71 -## PER STATUS / END 72 -## 73 -## PER YEAR / START 74 - #if( $xwiki.exists("${userSpace}.${mainSpace}.PerYear") ) 75 - <li> 76 - {{thesisStatus plural="true" upperCase="false" short="false"}}completed{{/thesisStatus}} [[{{stringEngIta eng="per year" ita="per anno"/}}>>${userSpace}.${mainSpace}.PerYear]] 77 - </li> 78 - <ul><li> 79 - #foreach( $year in [$lastYearThesis..$firstYearThesis] ) 80 - #if( $foreach.count < $maxThesisYears || ($foreach.count == $maxThesisYears && $year == $firstYearThesis) )#if( !$foreach.first ), #end[[$year>>${userSpace}.${mainSpace}.PerYear||queryString="year=$year"]]#elseif( $foreach.count == $maxThesisYears ), [[$year–$firstYearThesis>>${userSpace}.${mainSpace}.PerYear||queryString="from=$firstYearThesis&to=$year"]]#end 81 - #end 82 - </li></ul> 83 - #end 84 -## PER YEAR / END 85 -## 86 -## PER CYCLE / START 87 - #if( $xwiki.exists("${userSpace}.${mainSpace}.PerCycle") ) 88 - <li> 89 - {{thesisStatus plural="true" upperCase="false" short="false"}}completed{{/thesisStatus}} [[$services.localization.render('percycle').toLowerCase()>>${userSpace}.${mainSpace}.PerCycle]] 90 - </li> 91 - <ul><li> 92 - #foreach( $cycle in $thesisCycles )[[{{thesisCycle plural="true" uppercase="false" short='true'}}$cycle{{/thesisCycle}}>>${userSpace}.${mainSpace}.PerCycle||queryString='cycle=$cycle']]#if( !$foreach.last ), #end 93 - #end 94 - </li></ul> 95 - #end 96 -## PER CYCLE / END 97 -## 98 -## PER ROLE / START 99 - #if( $xwiki.exists("${userSpace}.${mainSpace}.PerStatus") ) 100 - <li> 101 - $services.localization.render('theses').toLowerCase() 102 - $services.localization.render('perrole').toLowerCase() 103 - <ul><li> 104 - #foreach( $role in $thesisRoles ) 105 - [[{{thesisRole plural="false" uppercase="false" short='true'}}$role{{/thesisRole}}>>${userSpace}.${mainSpace}.PerStatus||queryString='role=$role']]#if( !$foreach.last ), #end 106 - #end 107 - </li></ul> 108 - #end 109 -## PER ROLE / END 110 -</ul></div> 111 -## AMS / START 112 - #template('apice_url.vm') 113 -<div class="mainheader"> 114 - in AMS 115 -</div><div class="menugenericbody"> 116 - #set( $amsuserurl = $amslaureaUrl + $userLastName + "=3A$userFirstName=3A=3A/" ) 117 -## $amsuserurl 118 -## [[AMS Laurea>>$amsuserurl||target="_blank"]] 119 -## <span class="textsecondary"> • </span> 120 -## [[AMS Dottorato>>${amsdottoratoUrl}${userLastName}=3A${userFirstName}=3A=3A.html||target="_blank"]] 20 +<div> 121 121 </div> 122 -## AMS / END 123 123 ## 124 124 #### USER SHOWCASE / END 125 125 #else 126 126 #### GENERAL SHOWCASE / START 127 -<div><ul> 128 -## CLOUDS / START 129 - #if( $xwiki.exists("${mainSpace}.Clouds.WebHome") ) 130 - <li> 131 - [[$services.localization.render('thesisclouds').toLowerCase()>>${mainSpace}.Clouds.WebHome]] 132 - </li> 133 - <ul><li> 134 - #set( $comma = false ) 135 - #if( $xwiki.exists("${mainSpace}.Clouds.Tags") ) 136 - #if( $comma ), #end[[$services.localization.render('tags').toLowerCase()>>${mainSpace}.Clouds.Tags]]#set( $comma = true ) 137 - #end 138 - #if( $xwiki.exists("${mainSpace}.Clouds.Supervisors") ) 139 - #if( $comma ), #end[[$services.localization.render('supervisors').toLowerCase()>>${mainSpace}.Clouds.Supervisors]]#set( $comma = true ) 140 - #end 141 - #if( $xwiki.exists("${mainSpace}.Clouds.Cosupervisors") ) 142 - #if( $comma ), #end[[$services.localization.render('cosupervisors').toLowerCase()>>${mainSpace}.Clouds.Cosupervisors]]#set( $comma = true ) 143 - #end 144 - </li></ul> 145 - #end 146 -## CLOUDS / END 147 -## 148 -## PER STATUS / START 149 - #if( $xwiki.exists("${mainSpace}.PerStatus") ) 150 - <li> 151 - $services.localization.render('theses').toLowerCase() [[$services.localization.render('perstatus').toLowerCase()>>${mainSpace}.PerStatus]] 152 - </li> 153 - <ul><li> 154 - #foreach( $status in $showcaseThesisStatuses )[[{{thesisStatus plural="true" uppercase="false" short='true'}}$status{{/thesisStatus}}>>${mainSpace}.PerStatus||queryString='status=$status']]#if( !$foreach.last ), #end#end 155 - </li></ul> 156 - #end 157 -## PER STATUS / END 158 -## 159 -## PER YEAR / START 160 - #if( $xwiki.exists("${mainSpace}.PerYear") ) 161 - <li> 162 -{{thesisStatus plural="true" upperCase="false" short="false"}}completed{{/thesisStatus}} [[$services.localization.render('peryear').toLowerCase()>>${mainSpace}.PerYear]] 163 - </li> 164 - <ul><li> 165 - #foreach( $year in [$lastYearThesis..$firstYearThesis] )#if( $foreach.count < $maxThesisYears || ($foreach.count == $maxThesisYears && $year == $firstYearThesis) )#if( !$foreach.first ), #end[[$year>>${mainSpace}.PerYear||queryString="year=$year"]]#elseif( $foreach.count == $maxThesisYears ), [[$year–$firstYearThesis>>${mainSpace}.PerYear||queryString="from=$firstYearThesis&to=$year"]]#end#end 166 - </li></ul> 167 - #end 168 -## PER YEAR / END 169 -## 170 -## PER CYCLE / START 171 - #if( $xwiki.exists("${mainSpace}.PerCycle") ) 172 - <li> 173 - {{thesisStatus plural="true" upperCase="false" short="false"}}completed{{/thesisStatus}} [[$services.localization.render('percycle').toLowerCase()>>${mainSpace}.PerCycle]] 174 - </li> 175 - <ul><li> 176 - #foreach( $cycle in $showcaseThesisCycles )#if( !$foreach.first ), #end[[{{thesisCycle plural="true" uppercase="false" short='true'}}$cycle{{/thesisCycle}}>>${mainSpace}.PerCycle||queryString='cycle=$cycle']]#end 177 - </li></ul> 178 - #end 179 -## PER CYCLE / END 180 -## 181 -## BY CONTENT / START 182 - #if( $xwiki.exists("${mainSpace}.Search") ) 183 - <li> 184 - [[$services.localization.render('search').toLowerCase()>>${mainSpace}.Search]] {{stringEngIta eng="theses by content" ita="tesi per contenuto"/}} 185 - </li> 186 - #end 187 -## BY CONTENT / END 188 -</ul></div> 26 +<div></div> 189 189 #### GENERAL SHOWCASE / END 190 190 #end 191 191 {{/html}}