Changes for page All Journals & Series
From version 5.2
edited by Andrea Omicini
on 12/03/2022 14:47
on 12/03/2022 14:47
Change comment:
There is no comment for this version
To version 10.1
edited by Andrea Omicini
on 05/10/2022 17:26
on 05/10/2022 17:26
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 -= {{stringEngIta eng="All Journals & Series" ita="Tuttele riviste e le collane"/}} =1 += {{stringEngIta eng="All" ita="Tutte"/}} = 2 2 3 -{{velocity}} 4 -#set( $sql = ", BaseObject as obj, StringProperty as prop where obj.name = doc.fullName and obj.className = ' Journals.JournalClass' and obj.name <> 'Journals.JournalTemplate' and prop.id.id = obj.id and prop.name = 'acronym' order by prop.value asc" )3 +{{include reference="Journals.Environment" excludeFirstHeading="true"/}}{{velocity}} 4 +#set( $sql = ", BaseObject as obj, StringProperty 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 = 'acronym' order by prop.value asc" ) 5 5 #set( $journals = $xwiki.searchDocuments($sql) ) 6 6 #set( $journalNo = $journals.size() ) 7 7 >**$journalNo** {{stringEngIta eng='journals & series' ita='riviste e collane'/}} 8 8 9 9 #foreach( $journal in $journals ) 10 -#if( $ velocityCount>1) (% style="color:$theme.textSecondaryColor" %)|(%%) #end{{journal}}$journal{{/journal}}#end10 +#if( $foreach.index > 0 ) (% style="color:$theme.textSecondaryColor" %)|(%%) #end{{journal}}$journal{{/journal}}#end 11 11 {{/velocity}}