Changes for page Per Year
From version 68.4
edited by Andrea Omicini
on 28/10/2021 01:01
on 28/10/2021 01:01
Change comment:
There is no comment for this version
To version 65.1
edited by Andrea Omicini
on 25/10/2021 22:36
on 25/10/2021 22:36
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 - #set($title="Theses per Status")#if($xcontext.language=='it')#set($title="Tesi per stato")#end$title1 +Theses per Status - Content
-
... ... @@ -64,7 +64,7 @@ 64 64 ## if $oneUser is false, $oneRole means nothing -- so all users, all roles / just status 65 65 ## 66 66 ## title 67 ->#if( $oneStatus ){{thesisStatus plural='yes' uppercase='yes'}}$selectedStatus{{/thesisStatus}}#else{{stringEngIta eng="Theses" ita="Tesi"/}}#end#if( $oneUser ) / $userFirstName **$userLastName**#end#if( $oneRole ) / {{thesisRole short='yes'}}$selectedRole{{/thesisRole}}#end{{id name='top'/}}67 +>#if( $oneStatus ){{thesisStatus plural='yes' uppercase='yes'}}$selectedStatus{{/thesisStatus}}#else{{stringEngIta eng="Theses" ita="Tesi"/}}#end#if( $oneUser ) / $userFirstName **$userLastName**#end#if( $oneRole ) / $selectedRole#end{{id name='top'/}} 68 68 ## index 69 69 #if( !$oneStatus ) 70 70 (% style="font-size: smaller; padding:1em 1.5em 0.25em 1.5em; background-color:$theme.highlightColor" %)(((#foreach( $status in $allThesisStatuses )#if ($velocityCount > 1) | #end[[{{thesisStatus plural="true" uppercase="false"}}$status{{/thesisStatus}}>>||anchor="$status"]]#end))) ... ... @@ -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 != "" )107 +* [[$thesisObj.title>>$thesisDoc]] #if( $thesisDoc.getValue('studentUserName') != "" )//$thesisDoc.getValue('studentUserName')//#elseif( $thesisObj.studentFirstName != "" && $thesisObj.studentLastName != "" )//$thesisObj.studentFirstName $thesisObj.studentLastName//#end#if( $thesisObj.endDate != "" ) ($thesisObj.endDate)#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') != "" )126 +* [[$thesisObj.title>>$thesisDoc]] #if( $thesisDoc.getValue('studentUserName') != "" )//$thesisDoc.getValue('studentUserName')//#elseif( $thesisObj.studentFirstName != "" && $thesisObj.studentLastName != "" )//$thesisObj.studentFirstName $thesisObj.studentLastName//#end#if( $thesisObj.endDate != "" ) ($thesisObj.endDate)#end 127 127 128 128 #end 129 129 #end