Changes for page All Theses
From version 9.1
edited by Andrea Omicini
on 29/06/2023 17:26
on 29/06/2023 17:26
Change comment:
There is no comment for this version
To version 3.2
edited by Andrea Omicini
on 08/12/2021 01:56
on 08/12/2021 01:56
Change comment:
There is no comment for this version
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -1,11 +1,11 @@ 1 -= 1 +={{stringEngIta eng="All Theses in " ita="Tutti le tesi in "/}}{{apice/}}= 2 2 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 = ' ${objectPool}.${objectClass}' and obj.name <> '${objectSpace}.${objectTemplate}' and prop.id.id = obj.id and prop.name = 'end' order by prop.value desc" )3 +{{velocity}} 4 +#set( $sql = ", BaseObject as obj, DateProperty as prop where obj.name = doc.fullName and obj.className = 'Theses.ThesisClass' and obj.name <> 'Theses.ThesisTemplate' and prop.id.id = obj.id and prop.name = 'endDate' 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'/}} 7 +>**$thesisNo** {{stringEngIta eng='theses' ita='tesi'/}} in {{apice /}} 8 8 9 9 #foreach ( $thesis in $thesesFound ) 10 -#if( $ foreach.index>0){{themeTextSecondary}}•{{/themeTextSecondary}}#end{{thesis linked='title'}}$thesis{{/thesis}}#end10 +#if( $velocityCount > 1 ) (% style="color:$theme.textSecondaryColor" %)|(%%) #end{{thesis linked='title'}}$thesis{{/thesis}}#end 11 11 {{/velocity}}