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 10.1
edited by Andrea Omicini
on 05/10/2022 17:26
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
Default language
... ... @@ -1,1 +1,0 @@
1 -en
Content
... ... @@ -1,12 +1,11 @@
1 -{{velocity}}
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" )
1 += {{stringEngIta eng="All" ita="Tutte"/}} =
2 +
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" )
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'/}}
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( $foreach.index > 0 ) (% style="color:$theme.textSecondaryColor" %)|(%%) #end{{journal}}$journal{{/journal}}#end
12 12  {{/velocity}}