Changes for page All Journals & Series

From version 4.1
edited by Andrea Omicini
on 04/11/2021 23:33
Change comment: There is no comment for this version
To version 5.1
edited by Andrea Omicini
on 19/11/2021 18:19
Change comment: There is no comment for this version

Summary

Details

Page properties
Title
... ... @@ -1,1 +1,0 @@
1 -#if($xcontext.language=="it")Tutte le riviste e le collane in APICe#{else}All Journals & Series in APICe#end
Content
... ... @@ -1,12 +1,11 @@
1 +={{stringEngIta eng="All Journals & Series in " ita="Tutte le riviste e le collane in "/}}{{apice/}}=
2 +
1 1  {{velocity}}
2 2  #set( $sql = ", BaseObject as obj, StringProperty as prop where obj.name = doc.fullName and obj.className = 'Journals.JournalClass' and obj.name <> 'Journals.JournalClassTemplate' 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 ->{{english}}There are currently **$journalNo** journals and series recorded in {{apice /}}{{/english}}{{italian}}Ci sono attualmente **$journalNo** riviste e collane registrate in {{apice /}}{{/italian}}
7 +>**$journalNo** {{stringEngIta eng='journals & series' ita='riviste e collane'/}} in {{apice /}}
6 6  
7 -#foreach( $journal in $journals )
8 - #set( $journalDoc=$xwiki.getDocument($journal) )
9 - #set( $journalObj=$journalDoc.getObject("Journals.JournalClass") )
10 - #if( $velocityCount > 1 ) | #end#if( $journalDoc.display('acronym') != '' )//($journalDoc.display('acronym'))// #end[[$journalDoc.display("name")>>$journal]]##
11 -#end
9 +#foreach( $journal in $journals )
10 +#if( $velocityCount > 1 ) (% style="color:$theme.textSecondaryColor" %)|(%%) #end{{journal}}$journal{{/journal}}#end
12 12  {{/velocity}}