Changes for page Per Year
From version 68.6
edited by Andrea Omicini
on 29/10/2021 14:36
on 29/10/2021 14:36
Change comment:
There is no comment for this version
To version 67.2
edited by Andrea Omicini
on 26/10/2021 12:54
on 26/10/2021 12:54
Change comment:
There is no comment for this version
Summary
-
Page properties (2 modified, 0 added, 0 removed)
Details
- Page properties
-
- Title
-
... ... @@ -1,1 +1,1 @@ 1 - #if($xcontext.language=='it')Tesi per stato#{else}Theses per Status#end1 +Theses per Status - 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 s" )89 + #set( $selectedRoleFieldName = "contact" ) 90 90 #elseif( $role == "cosupervisor" ) 91 - #set( $selectedRoleFieldName = "co supervisors" )91 + #set( $selectedRoleFieldName = "coSupervisors" ) 92 92 #else 93 - #set( $selectedRoleFieldName = "supervisor s" )93 + #set( $selectedRoleFieldName = "supervisor" ) 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') != "" )[[$xwiki.getUserName($thesisDoc.getValue('studentUserName'), false)>>$thesisDoc.getValue('studentUserName')]]#elseif( $thesisObj.studentFirstName != "" && $thesisObj.studentLastName != "" ) $thesisObj.studentFirstName $thesisObj.studentLastName#end107 +* [[$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 108 108 109 109 #end 110 110 #if( $thesisFoundNo > 0 && !$oneRole ) ... ... @@ -123,7 +123,7 @@ 123 123 #foreach( $thesis in $thesisFound ) 124 124 #set($thesisDoc = $xwiki.getDocument($thesis)) 125 125 #set($thesisObj = $thesisDoc.getObject('Theses.ThesisClass')) 126 -* [[$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#end126 +* [[$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 127 127 128 128 #end 129 129 #end