Changes for page Per Year

From version 91.1
edited by Andrea Omicini
on 29/10/2021 16:13
Change comment: There is no comment for this version
To version 96.1
edited by Andrea Omicini
on 30/10/2021 16:03
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -72,17 +72,16 @@
72 72  ### END USER & CYCLE
73 73  ##
74 74  ## title
75 ->if( $oneRole ){{thesisCycle short='no'}}$selecteCycle{{/thesisCycle}}#else{{stringEngIta eng="Theses" ita="Tesi"/}}#end / #if( $oneYear )$selectedYear#else$firstYear—$lastYear#end#if( $oneUser ) / $userFirstName **$userLastName**#end#{{id name='top'/}}
75 +>#if( $oneRole ){{thesisCycle short='no'}}$selecteCycle{{/thesisCycle}}#else{{stringEngIta eng="Theses" ita="Tesi"/}}#end / #if( $oneYear )$selectedYear#else$firstYear–$lastYear#end#if( $oneUser ) / $userFirstName **$userLastName**#end{{id name='top'/}}
76 +## index
77 +#if( !$oneYear )
78 +(% 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)))
79 +#elseif( $oneUser && !$oneCycle )
80 +(% style="font-size: smaller; padding:1em 1.5em 0.25em 1.5em; background-color:$theme.highlightColor" %)(((#foreach( $cycle in $allThesisCycles )#if ($velocityCount > 1) | #end [[{{thesisCycle}}$cycle{{/thesisCycle}}>>||anchor="$cycle"]]#end)))
81 +#end{{id name='index'/}}
76 76  
77 77  #stop
78 78  
79 -
80 -## index
81 -#if( !$oneStatus )
82 -(% 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)))
83 -#elseif( $oneUser && !$oneRole )
84 -(% style="font-size: smaller; padding:1em 1.5em 0.25em 1.5em; background-color:$theme.highlightColor" %)(((#foreach( $role in $allThesisRoles )#if ($velocityCount > 1) | #end [[{{thesisRole}}$role{{/thesisRole}}>>||anchor="$role"]]#end)))
85 -#end{{id name='index'/}}
86 86  ## search theses
87 87  #set( $thesisNo = 0 )
88 88  #foreach( $status in $allThesisStatuses )