Changes for page Per Year

From version 67.2
edited by Andrea Omicini
on 26/10/2021 12:54
Change comment: There is no comment for this version
To version 68.4
edited by Andrea Omicini
on 28/10/2021 01:01
Change comment: There is no comment for this version

Summary

Details

Page properties
Title
... ... @@ -1,1 +1,1 @@
1 -Theses per Status
1 +#set($title="Theses per Status")#if($xcontext.language=='it')#set($title="Tesi per stato")#end$title
Content
... ... @@ -86,11 +86,11 @@
86 86   #set( $thesisStatusRoleNo = 0 )
87 87   #if( !$oneRole || $selectedRole == $role )
88 88   #if( $role == "contact" )
89 - #set( $selectedRoleFieldName = "contact" )
89 + #set( $selectedRoleFieldName = "contacts" )
90 90   #elseif( $role == "cosupervisor" )
91 - #set( $selectedRoleFieldName = "coSupervisors" )
91 + #set( $selectedRoleFieldName = "cosupervisors" )
92 92   #else
93 - #set( $selectedRoleFieldName = "supervisor" )
93 + #set( $selectedRoleFieldName = "supervisors" )
94 94   #end
95 95  ## some selected role or all roles / now $role
96 96   #set ($sql = ", BaseObject as obj, StringProperty as prop0, LargeStringProperty as prop1, DateProperty as prop2
... ... @@ -104,7 +104,7 @@
104 104   #foreach( $thesis in $thesisFound )
105 105   #set($thesisDoc = $xwiki.getDocument($thesis))
106 106   #set($thesisObj = $thesisDoc.getObject('Theses.ThesisClass'))
107 -* [[$thesisObj.title>>$thesisDoc]]#if( $thesisObj.endDate != "" ) ($thesisObj.endDate)#end#if( $thesisDoc.getValue('studentUserName') != "" ) $thesisDoc.getValue('studentUserName')#elseif( $thesisObj.studentFirstName != "" && $thesisObj.studentLastName != "" ) $thesisObj.studentFirstName $thesisObj.studentLastName#end
107 +* [[$thesisObj.title>>$thesisDoc]]#if( $thesisObj.endDate != "" ) ($thesisObj.endDate)#end#if( $thesisDoc.getValue('studentUserName') != "" ) [[$xwiki.getUserName($thesisDoc.getValue('studentUserName'), false)>>$thesisDoc.getValue('studentUserName')]]#elseif( $thesisObj.studentFirstName != "" && $thesisObj.studentLastName != "" ) $thesisObj.studentFirstName $thesisObj.studentLastName#end
108 108  
109 109   #end
110 110   #if( $thesisFoundNo > 0 && !$oneRole )