Changes for page Per Year
From version 39.3
edited by Andrea Omicini
on 25/10/2021 20:39
on 25/10/2021 20:39
Change comment:
There is no comment for this version
To version 39.2
edited by Andrea Omicini
on 25/10/2021 20:35
on 25/10/2021 20:35
Change comment:
There is no comment for this version
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -30,7 +30,6 @@ 30 30 #set( $userNamePar = $request.user.trim() ) 31 31 ## default values 32 32 #set( $oneUser = false ) 33 -#set( $oneRole = false ) 34 34 #set( $userFirstName = "" ) 35 35 #set( $userLastName = "" ) 36 36 #if( $userName || $userNamePar ) ... ... @@ -51,6 +51,7 @@ 51 51 #end 52 52 ##user selected and existing user page 53 53 #set( $rolePar = $request.role.trim().toLowerCase() ) 53 + #set( $oneRole = false ) 54 54 #set( $selectedRole = '' ) 55 55 #if( $rolePar != '' && $allThesisRoles.contains($rolePar) ) 56 56 #set( $oneRole = true ) ... ... @@ -64,19 +64,18 @@ 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 ) / $selectedRole#end67 +>#if( $oneStatus ){{thesisStatus plural='yes' uppercase='yes'}}$selectedStatus{{/thesisStatus}}#else{{stringEngIta eng="Theses" ita="Tesi"/}}#end#if( $oneUser ) / $userFirstName **$userLastName**#if( $oneRole ) / $selectedRole#end#end 68 68 69 -## index 70 -#if( !$oneStatus ) 71 -(% 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="$sort"]]#end))) 69 +## search theses 70 +#foreach( $status in $allThesisStatuses ) 71 + #if( !$oneStatus || $selectedStatus == $status ) 72 +#if( !$oneSort ) 73 +(% style="font-size: smaller; padding:1em 1.5em 0.25em 1.5em; background-color:$theme.highlightColor" %)(((#foreach( $sort in $sortList )#if ($velocityCount > 1) | #end [[{{pubSort plural="true" uppercase="false"}}$sort{{/pubSort}}>>||anchor="$sort"]]#end))) 72 72 #elseif( !$oneYear ) 73 73 (% style="font-size: smaller; padding:1em 1.5em 0.25em 1.5em; background-color:$theme.highlightColor" %)(((#foreach( $year in $yearList )#if ($velocityCount > 1) | #end [[$year>>||anchor="$year"]]#end))) 74 74 #end 75 75 76 76 77 -## search theses 78 -#foreach( $status in $allThesisStatuses ) 79 - #if( !$oneStatus || $selectedStatus == $status ) 80 80 = $status = 81 81 ## some selected status or all statuses / now $status 82 82 #if( $oneUser )