Changes for page Per Year

From version 1.13
edited by Andrea Omicini
on 16/06/2021 11:09
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,6 +1,5 @@
1 1  #includeMacros("Main.MacroSheet")
2 2  #includeMacros("Theses.MacroSheet")
3 -#includeMacros("Theses.GlobalVars")
4 4  
5 5  #### get parameters
6 6  ## who
... ... @@ -179,6 +179,7 @@
179 179  #set($thesisFound = $xwiki.searchDocuments($sql))
180 180  
181 181  #foreach ($thesis in $thesisFound)#set($thesisDoc = $xwiki.getDocument($thesis))
182 -* [$thesisDoc.getValue('title') | $thesis] #if( $thesisDoc.getValue('studentUserName') != "" && $xwiki.exists($thesisDoc.getValue('studentUserName')) )(#thesisStudentUser($thesis)) #else #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 +
183 183  #end
184 184