Changes for page All Journals & Series

From version 11.1
edited by Andrea Omicini
on 27/03/2023 21:08
Change comment: There is no comment for this version
To version 13.1
edited by Andrea Omicini
on 06/06/2023 12:55
Change comment: There is no comment for this version

Summary

Details

Page properties
Title
... ... @@ -1,0 +1,1 @@
1 +$services.localization.render('journalseriesall')
Content
... ... @@ -1,5 +3,3 @@
1 -= {{stringEngIta eng="All" ita="Tutte"/}} =
2 -
3 3  {{include reference="Journals.Environment" excludeFirstHeading="true"/}}{{velocity}}
4 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) )
... ... @@ -7,5 +7,5 @@
7 7  >**$journalNo** {{stringEngIta eng='journals & series' ita='riviste e collane'/}}
8 8  
9 9  #foreach( $journal in $journals )
10 -#if( $foreach.index > 0 ) {{themeTextSecondary}}•{{/themeTextSecondary}} #end{{journal}}$journal{{/journal}}#end
8 +#if( !$foreach.first ) {{themeTextSecondary}}•{{/themeTextSecondary}} #end{{journal}}$journal{{/journal}}#end
11 11  {{/velocity}}