Changes for page All Journals & Series

From version 14.1
edited by Andrea Omicini
on 06/06/2023 12:55
Change comment: There is no comment for this version
To version 5.2
edited by Andrea Omicini
on 12/03/2022 14:47
Change comment: There is no comment for this version

Summary

Details

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