Changes for page Per Year

From version 2.1
edited by Andrea Omicini
on 16/06/2021 19:10
Change comment: There is no comment for this version
To version 1.18
edited by Andrea Omicini
on 16/06/2021 16:56
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -1,4 +1,4 @@
1 -#includeMacros("Main.MacroSheet2")
1 +#includeMacros("Main.MacroSheet")
2 2  #includeMacros("Theses.MacroSheet")
3 3  
4 4  #### get parameters
... ... @@ -178,7 +178,7 @@
178 178  #set($thesisFound = $xwiki.searchDocuments($sql))
179 179  
180 180  #foreach ($thesis in $thesisFound)#set($thesisDoc = $xwiki.getDocument($thesis))
181 -* #thesisTitlelink($thesis)#if( $thesisDoc.display("studentUserName") != "" || $thesisDoc.display("studentName") != "" ) ~~(#thesisAuthorlink($thesis))~~ #end
181 +* [$thesisDoc.getValue('title') | $thesis] #if( $thesisDoc.getValue('studentUserName') != "" && $xwiki.exists($thesisDoc.getValue('studentUserName')) ) ~~(#thesisStudentUser($thesis))~~ #elseif ( $thesisDoc.getValue('studentName') != "" ) ~~($thesisDoc.getValue('studentName'))~~ #end
182 182  
183 183  #end
184 184