Changes for page All Journals & Series
From version 7.1
edited by Andrea Omicini
on 13/05/2022 17:17
on 13/05/2022 17:17
Change comment:
There is no comment for this version
To version 4.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
Summary
-
Page properties (3 modified, 0 added, 0 removed)
Details
- Page properties
-
- Title
-
... ... @@ -1,0 +1,1 @@ 1 +#if($xcontext.language=="it")Tutte le riviste e le collane in APICe#{else}All Journals & Series in APICe#end - Default language
-
... ... @@ -1,0 +1,1 @@ 1 +en - Content
-
... ... @@ -1,12 +4,12 @@ 1 -= {{stringEngIta eng="All" ita="Tutte"/}} = 2 - 3 -{{include reference="Journals.Environment" excludeFirstHeading="true"/}}{{velocity}} 4 4 {{velocity}} 5 -#set( $sql = ", BaseObject as obj, StringProperty as prop where obj.name = doc.fullName and obj.className = 'Journals. ${objectClass}' and obj.name <> 'Journals.${objectTemplate}' and prop.id.id = obj.id and prop.name = 'acronym' order by prop.value asc" )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" ) 6 6 #set( $journals = $xwiki.searchDocuments($sql) ) 7 7 #set( $journalNo = $journals.size() ) 8 ->**$journalNo** {{stringEngIta eng='journals&series'ita='riviste e collane'/}}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}} 9 9 10 -#foreach( $journal in $journals ) 11 -#if( $velocityCount > 1 ) (% style="color:$theme.textSecondaryColor" %)|(%%) #end{{journal}}$journal{{/journal}}#end 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 12 12 {{/velocity}}