Changes for page Supervisors
From version 99.1
edited by Andrea Omicini
on 30/06/2023 00:44
on 30/06/2023 00:44
Change comment:
There is no comment for this version
To version 101.1
edited by Andrea Omicini
on 30/06/2023 00:51
on 30/06/2023 00:51
Change comment:
There is no comment for this version
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -7,7 +7,7 @@ 7 7 ## no tag parameter --> just the cloud 8 8 ## set query 9 9 #set( $query = ", BaseObject as objThesis, LargeStringProperty as propSupervisors, StringProperty as propStatus, DateProperty as propEnddate 10 - where objThesis.name = doc.fullName and objThesis.className = '${objectSpace}.${objectClass}' and objThesis.name <> '${objectSpace}.${objectTemplate}' and propSupervisors.id.id = objThesis.id and propStatus.id.id = objThesis.id and prop 2.id.id = objThesis.id and propSupervisors.name = 'supervisors' and propSupervisors.value <> '' and propStatus.name = 'status' and lower(propStatus.value) = 'completed' and propEnddate.name = 'end' order by propEnddate.value desc" )10 + where objThesis.name = doc.fullName and objThesis.className = '${objectSpace}.${objectClass}' and objThesis.name <> '${objectSpace}.${objectTemplate}' and propSupervisors.id.id = objThesis.id and propStatus.id.id = objThesis.id and propEnddate.id.id = objThesis.id and propSupervisors.name = 'supervisors' and propSupervisors.value <> '' and propStatus.name = 'status' and lower(propStatus.value) = 'completed' and propEnddate.name = 'end' order by propEnddate.value desc" ) 11 11 ## execute query 12 12 #set( $itemFound = $xwiki.searchDocuments($query) ) 13 13 #set( $itemFoundNo = $itemFound.size() ) ... ... @@ -73,15 +73,20 @@ 73 73 #set( $itemFound = $xwiki.searchDocuments($query) ) 74 74 #set( $itemFoundNo = $itemFound.size() ) 75 75 ## subtitle 76 ->$itemFoundNo #if( $itemFoundNo == 1 ){{stringEngIta eng="$objectEngSingular.toLowerCase()" ita="$objectItaSingular.toLowerCase()"/}}#else{{stringEngIta eng="$objectEngPlural.toLowerCase()" ita="$objectItaPlural.toLowerCase()"/}}#end#if( $request.user ) / {{namesFromUsers linked='false'}}$request.user{{/namesFromUsers}}#end#if( $request.name && $request.surname ) / {{namesFromUsers linked='false'}}$request.name $request.surname{{/namesFromUsers}}#end 77 -## talk list 78 -((( 76 +<div class="mainheader"> 77 +$itemNo #if( $itemNo > 1)$services.localization.render('theses').toLowerCase()#{else}$services.localization.render('thesis').toLowerCase()#{end} 78 +</div> 79 +## thesis list 80 + #template('apice_thesis_macros.vm') 79 79 #foreach( $item in $itemFound ) 80 -[[image:icon:book]] {{thesis linked="title"}}$item{{/thesis}} 82 +<div> 83 +[[image:icon:book]] #thesislinked($item) 84 +</div> 81 81 #end 82 -))) 83 83 ## thesis list bottom 84 -(% style='font-style:oblique;font-size:smaller;text-align:right;color:$theme.textSecondaryColor' %)((([ [[{{stringEngIta eng="supervisor cloud" ita="nuvola supervisori" /}}>>$doc||]] / {{stringEngIta eng = "$objectEngPlural.toLowerCase()" ita = "$objectItaPlural.toLowerCase()"/}} ])))(%%) 87 +<div class="menuqualifier" style="text-align: right"> 88 +[ [[{{stringEngIta eng="supervisor cloud" ita="nuvola relatori" /}}>>$doc.name]] / $services.localization.render('theses').toLowerCase() ] 89 +</div> 85 85 #end 86 86 {{/html}} 87 87 {{/velocity}}{{pageDisplay sort="objectservice"/}}