Changes for page Per Year
From 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
To 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
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -30,6 +30,7 @@ 30 30 #set( $userNamePar = $request.user.trim() ) 31 31 ## default values 32 32 #set( $oneUser = false ) 33 +#set( $oneRole = false ) 33 33 #set( $userFirstName = "" ) 34 34 #set( $userLastName = "" ) 35 35 #if( $userName || $userNamePar ) ... ... @@ -50,7 +50,6 @@ 50 50 #end 51 51 ##user selected and existing user page 52 52 #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,18 +64,19 @@ 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**#if( $oneRole ) / $selectedRole#end #end67 +>#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 68 68 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))) 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))) 74 74 #elseif( !$oneYear ) 75 75 (% 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))) 76 76 #end 77 77 78 78 77 +## search theses 78 +#foreach( $status in $allThesisStatuses ) 79 + #if( !$oneStatus || $selectedStatus == $status ) 79 79 = $status = 80 80 ## some selected status or all statuses / now $status 81 81 #if( $oneUser )