Changes for page All Journals & Series
From version 3.1
edited by Andrea Omicini
on 04/11/2021 23:33
on 04/11/2021 23:33
Change comment:
There is no comment for this version
To version 5.2
edited by Andrea Omicini
on 12/03/2022 14:47
on 12/03/2022 14:47
Change comment:
There is no comment for this version
Summary
-
Page properties (3 modified, 0 added, 0 removed)
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 += {{stringEngIta eng="All Journals & Series" ita="Tutte le riviste e le collane"/}} = 2 + 1 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.Journal ClassTemplate' andobj.name <> 'Journals.JournalTemplate' 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 = '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 ->{{english}}There are currently **$journalNo** journals and series recorded in {{apice /}}{{/english}}{{italian}}Ci sono attualmente **$journalNo** riviste e collane registrate in {{apice /}}{{/italian}} 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 7 +>**$journalNo** {{stringEngIta eng='journals & series' ita='riviste e collane'/}} 8 + 9 +#foreach( $journal in $journals ) 10 +#if( $velocityCount > 1 ) (% style="color:$theme.textSecondaryColor" %)|(%%) #end{{journal}}$journal{{/journal}}#end 12 12 {{/velocity}}