Modifiche per il documento Tutte le tesi

Dalla versione 5.1
modificato da Andrea Omicini
il 22/07/2022 15:48
Cambia il commento: Nessun commento per questa versione
Alla versione 10.1
modificato da Andrea Omicini
il 29/06/2023 17:27
Cambia il commento: Nessun commento per questa versione

Summary

Details

Page properties
Content
... ... @@ -1,11 +1,11 @@
1 1  = {{stringEngIta eng="All" ita="Tutte"/}} =
2 2  
3 3  {{include reference="Theses.Environment" excludeFirstHeading="true"/}}{{velocity}}
4 -#set( $sql = ", BaseObject as obj, DateProperty as prop where obj.name = doc.fullName and obj.className = '${objectSpace}.${objectClass}' and obj.name <> '${objectSpace}.${objectTemplate}' and prop.id.id = obj.id and prop.name = 'endDate' order by prop.value desc" )
4 +#set( $sql = ", BaseObject as obj, DateProperty as prop where obj.name = doc.fullName and obj.className = '${objectSpace}.${objectClass}' and obj.name <> '${objectPool}.${objectTemplate}' and prop.id.id = obj.id and prop.name = 'end' order by prop.value desc" )
5 5  #set( $thesesFound = $xwiki.searchDocuments($sql) )
6 6  #set( $thesisNo = $thesesFound.size() )
7 ->**$thesisNo** {{stringEngIta eng='theses' ita='tesi'/}} in {{apice /}}
7 +>**$thesisNo** {{stringEngIta eng='theses' ita='tesi'/}}
8 8  
9 9  #foreach ( $thesis in $thesesFound )
10 -#if( $velocityCount > 1 ) (% style="color:$theme.textSecondaryColor" %)|(%%) #end{{thesis linked='title'}}$thesis{{/thesis}}#end
10 +#if( $foreach.index > 0 ) {{themeTextSecondary}}•{{/themeTextSecondary}} #end{{thesis linked='title'}}$thesis{{/thesis}}#end
11 11  {{/velocity}}