Changes for page Theses
From version 15.1
edited by Andrea Omicini
on 11/12/2020 17:28
on 11/12/2020 17:28
Change comment:
There is no comment for this version
To version 20.1
edited by Andrea Omicini
on 28/12/2021 21:10
on 28/12/2021 21:10
Change comment:
There is no comment for this version
Summary
-
Page properties (2 modified, 0 added, 0 removed)
Details
- Page properties
-
- Syntax
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki 2. 01 +XWiki 2.1 - Content
-
... ... @@ -1,20 +1,5 @@ 1 -{{velocity filter="none"}}{{html clean="false" wiki="true"}} 2 -#foreach ($thesisStatus in ["Available","Ongoing","Completed"]) 1 +>{{alchemist/}} Theses in {{apice/}} 3 3 4 - =$thesisStatus=3 +{{velocity}}#set( $tag = 'Alchemist' ){{/velocity}}{{include reference="Theses.Tag"/}} 5 5 6 -##tagged research on Thesis space based on tag "Alchemist" 7 -#set( $thesisTag = "Alchemist") 8 -#set ( $from = ", BaseObject as obj0, DBStringListProperty as prop0 join prop0.list item, BaseObject as obj1, DateProperty as prop1, StringProperty as prop2" ) 9 -#set ( $where = "obj0.className='XWiki.TagClass' and obj0.name=doc.fullName and obj0.id=prop0.id.id and prop0.id.name='tags' and lower(item)=lower('$thesisTag') and obj1.name=doc.fullName and obj1.className='Theses.ThesisClass' and obj1.name<>'Theses.ThesisClassTemplate' and prop1.id.id=obj1.id and prop1.name = 'endDate' and prop2.id.id=obj1.id and prop2.name = 'status' and prop2.value = '$thesisStatus' order by prop1.value desc" ) 10 -#set ( $sql = $from + " where " + $where ) 11 -#set($thesisFound = $xwiki.searchDocuments($sql)) 12 -#if ($thesisFound.size()>0) 13 -#foreach ($thesis in $thesisFound)#set($thesisDoc = $xwiki.getDocument($thesis)) 14 -* [[$thesisDoc.getValue('title')>>$thesis]] 15 -#end 16 -#end 17 -#end 18 -{{/html}} 19 - 20 - 5 +{{include reference="Environment"/}}