Changes for page All Journals & Series

From version 7.1
edited by Andrea Omicini
on 13/05/2022 17:17
Change comment: There is no comment for this version
To version 12.1
edited by Andrea Omicini
on 27/03/2023 21:08
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -1,12 +1,11 @@
1 1  = {{stringEngIta eng="All" ita="Tutte"/}} =
2 2  
3 3  {{include reference="Journals.Environment" excludeFirstHeading="true"/}}{{velocity}}
4 -{{velocity}}
5 -#set( $sql = ", BaseObject as obj, StringProperty as prop where obj.name = doc.fullName and obj.className = 'Journals.${objectClass}' and obj.name <> 'Journals.${objectTemplate}' and prop.id.id = obj.id and prop.name = 'acronym' order by prop.value asc" )
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" )
6 6  #set( $journals = $xwiki.searchDocuments($sql) )
7 7  #set( $journalNo = $journals.size() )
8 8  >**$journalNo** {{stringEngIta eng='journals & series' ita='riviste e collane'/}}
9 9  
10 10  #foreach( $journal in $journals )
11 -#if( $velocityCount > 1 ) (% style="color:$theme.textSecondaryColor" %)|(%%) #end{{journal}}$journal{{/journal}}#end
10 +#if( !$foreach.first ) {{themeTextSecondary}}•{{/themeTextSecondary}} #end{{journal}}$journal{{/journal}}#end
12 12  {{/velocity}}