Changes for page Per Year

From version 90.3
edited by Andrea Omicini
on 29/10/2021 16:08
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
... ... @@ -70,18 +70,18 @@
70 70  $oneUser
71 71  $oneCycle
72 72  ### END USER & CYCLE
73 -#stop
74 -
75 -
76 76  ##
77 77  ## title
78 ->#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'/}}
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'/}}
79 79  ## index
80 -#if( !$oneStatus )
81 -(% 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)))
82 -#elseif( $oneUser && !$oneRole )
83 -(% 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)))
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)))
84 84  #end{{id name='index'/}}
82 +
83 +#stop
84 +
85 85  ## search theses
86 86  #set( $thesisNo = 0 )
87 87  #foreach( $status in $allThesisStatuses )