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 43.2
edited by Andrea Omicini
on 25/10/2021 20:52
on 25/10/2021 20:52
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,19 +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#end 68 - 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 +## index 69 +#if( !$oneStatus ) 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))) 71 +#elseif( !$oneRole ) 72 +(% style="font-size: smaller; padding:1em 1.5em 0.25em 1.5em; background-color:$theme.highlightColor" %)(((#foreach( $role in $allThesisRoles )#if ($velocityCount > 1) | #end [[$role>>||anchor="$role"]]#end))) 73 +#end{{id name='index'/}} 69 69 ## search theses 70 70 #foreach( $status in $allThesisStatuses ) 71 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))) 74 -#elseif( !$oneYear ) 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 -#end 77 - 78 - 79 -= $status = 77 + #if( !$oneStatus ) 78 +(% style="border-style:solid hidden hidden solid; border-color:$theme.borderColor; text-align:left; font-style:oblique" %)|{{id name='$status'/}}{{thesisStatus plural='true' uppercase='true' short='true'}}$status{{/thesisStatus}} 79 + #end 80 80 ## some selected status or all statuses / now $status 81 81 #if( $oneUser ) 82 82 == $selectedUser ==