Changes for page Per Year
From version 136.1
edited by Andrea Omicini
on 30/06/2023 16:54
on 30/06/2023 16:54
Change comment:
There is no comment for this version
To version 133.8
edited by Andrea Omicini
on 09/02/2023 00:46
on 09/02/2023 00:46
Change comment:
There is no comment for this version
Summary
-
Page properties (2 modified, 0 added, 0 removed)
Details
- Page properties
-
- Title
-
... ... @@ -1,1 +1,0 @@ 1 -$services.localization.render('peryear') - Content
-
... ... @@ -1,5 +1,7 @@ 1 -{{velocity}} 2 -#template('apice_theses.vm') 1 += {{italiano}}Per anno{{/italiano}}{{english}}Per Year{{/english}} = 2 + 3 +{{include reference="Main.Environment" excludeFirstHeading="true"/}}{{include reference="Theses.Environment" excludeFirstHeading="true"/}}{{velocity}} 4 +#set( $thesisMenu = true ) 3 3 #### HANDLE PARAMETERS / START 4 4 ## 5 5 ## inline display ... ... @@ -66,7 +66,7 @@ 66 66 ## $oneCycle true if just one cycle to be shown 67 67 #if( $request.cycle && $request.cycle.trim() != "" ) 68 68 #set( $cyclePar = $request.cycle.trim().toUpperCase() ) 69 - #if( $ thesisCycles.contains($cyclePar) )71 + #if( $allThesisCycles.contains($cyclePar) ) 70 70 ## 'cycle' parameter is an admissible thesis cycle value 71 71 #set( $cycleList = [$cyclePar]) 72 72 #set( $oneCycle = true ) ... ... @@ -78,7 +78,11 @@ 78 78 #end 79 79 #else 80 80 ## default: all cycles 81 - #set( $cycleList = $showcaseThesisCycles ) 83 + #if( $showPhDTheses ) 84 + #set( $cycleList = $allThesisCycles ) 85 + #else 86 + #set( $cycleList = $lowThesisCycles ) 87 + #end 82 82 #set( $oneCycle = false ) 83 83 #set( $cycle = "" ) 84 84 #end ... ... @@ -183,7 +183,7 @@ 183 183 #end 184 184 ## theses displayed per year 185 185 #foreach( $year in $itemMap.keySet() ) 186 -(% style="border-style:solid hidden hidden solid; border-color:$theme.borderColor; text-align:left; font-style:oblique" %)|{{id name='$year'/}}[[$year>>$doc||style="text-decoration:none; color:$theme.textPrimaryColor" queryString='year=$year#if( $oneUser )#if( $apiceUser )&user=$userName#{else}&name=$userFirstName&surname=$userLastName#end#end#if( $oneCycle )&cycle=$cycle#end #if( $showInline )&inline=true#end']]192 +(% style="border-style:solid hidden hidden solid; border-color:$theme.borderColor; text-align:left; font-style:oblique" %)|{{id name='$year'/}}[[$year>>$doc||style="text-decoration:none; color:$theme.textPrimaryColor" queryString='year=$year#if( $oneUser )#if( $apiceUser )&user=$userName#{else}&name=$userFirstName&surname=$userLastName#end#end#if( $oneCycle )&cycle=$cycle#end']] 187 187 #foreach( $item in $itemMap[$year] ) 188 188 #if( $showInline ) 189 189 #if( $foreach.first )