Changes for page Per Year

From version 133.2
edited by Andrea Omicini
on 09/02/2023 00:40
Change comment: There is no comment for this version
To version 131.2
edited by Andrea Omicini
on 29/01/2023 16:55
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -1,11 +1,9 @@
1 1  = {{italiano}}Per anno{{/italiano}}{{english}}Per Year{{/english}} =
2 2  
3 -{{include reference="Main.Environment" excludeFirstHeading="true"/}}{{include reference="Theses.Environment" excludeFirstHeading="true"/}}{{velocity}}
3 +{{include reference="Theses.Environment" excludeFirstHeading="true"/}}{{velocity}}
4 4  #set( $thesisMenu = true )
5 5  #### HANDLE PARAMETERS / START
6 6  ##
7 -## inline display
8 -#set( $inlinePar = $request.inline.trim() )
9 9  ## who
10 10  #set( $userNamePar = $request.user.trim() )
11 11  #set( $firstNamePar = $request.name.trim() )
... ... @@ -75,7 +75,7 @@
75 75   #set( $cycle = $cyclePar )
76 76   #else
77 77  ## 'cycle' parameter is not an admissible thesis cycle value
78 -{{warning}}$cyclePar is not an admissible cycle for APICe theses{{/warning}}
76 +{{warning}}$cyclePar is not an admissible cycle for APICE theses{{/warning}}
79 79   #stop
80 80   #end
81 81  #else
... ... @@ -141,17 +141,6 @@
141 141  ##
142 142  ## $oneUser, $apiceUser, $userString, $userFirstName, $userLastName, $oneCycle, $cycleList, $oneYear, $yearList are properly set
143 143  ##
144 -## handle inline / start
145 -##
146 -## default: false
147 -#set( $showInline = false )
148 -## check $inlinePar
149 -#if( $inlinePar != "" && $trueStringList.contains($inlinePar.toLowerCase()) )
150 - #set( $showInline = true )
151 -#end
152 -##
153 -## handle inline / end
154 -##
155 155  #### HANDLE PARAMETERS / END
156 156  ##
157 157  ## query to structures
... ... @@ -173,7 +173,7 @@
173 173  ## output results
174 174  ## page subtitle
175 175  {{id name="top"/}}
176 ->(%%)$itemNo #if( $itemNo == 1 )#if( $oneCycle ){{thesisCycle plural="false" uppercase="false"}}$cycle{{/thesisCycle}}#else{{stringEngIta eng="$objectEngSingular.toLowerCase()" ita="$objectItaSingular.toLowerCase()"/}}#end#{else}#if( $oneCycle ){{thesisCycle plural="true" uppercase="false"}}$cycle{{/thesisCycle}}#else{{stringEngIta eng="$objectEngPlural.toLowerCase()" ita="$objectItaPlural.toLowerCase()"/}}#end#{end} / #if( $oneYear )$year#else$firstYear–$lastYear#{end}#if( $oneUser ) / $userFirstName $userLastName#{end}(%%)
163 +>(%%)$itemNo #if( $itemNo == 1 )#if( $oneCycle ){{thesisCycle plural="false" uppercase="false"}}$cyclePar{{/thesisCycle}}#else{{stringEngIta eng="$objectEngSingular.toLowerCase()" ita="$objectItaSingular.toLowerCase()"/}}#end#{else}#if( $oneCycle ){{thesisCycle plural="true" uppercase="false"}}$cycle{{/thesisCycle}}#else{{stringEngIta eng="$objectEngPlural.toLowerCase()" ita="$objectItaPlural.toLowerCase()"/}}#end#{end} / #if( $oneYear )$year#else$firstYear–$lastYear#{end}#if( $oneUser ) / $userFirstName $userLastName#{end}(%%)
177 177  
178 178  ## stop if no thesis is found
179 179  #if( $itemNo == 0 || $itemMap.keySet().size() == 0 )
... ... @@ -185,15 +185,14 @@
185 185  #if( $itemMap.keySet().size() > 1 )
186 186  ## found more than one year
187 187  {{id name="index"/}}
188 -(% style="font-size:smaller; text-align:right; padding:1em 1.5em 0.25em 1.5em; background-color:$theme.highlightColor" %)(((#foreach( $year in $itemMap.keySet() )#if( !$foreach.first ) | #end[[$year>>$doc||anchor=$year]]#end)))
175 +(% style="font-size:smaller; text-align:right; padding:1em 1.5em 0.25em 1.5em; background-color:$theme.highlightColor" %)(((#foreach( $year in $itemMap.keySet() )#if( !$foreach.first ) | #end[[$year>>||anchor=$year]]#end)))
189 189  #end
190 190  ## theses displayed per year
191 191  #foreach( $year in $itemMap.keySet() )
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']](%%)(% style="border-style:hidden hidden hidden hidden; font-style:normal" %)#foreach( $item in $itemMap[$year] )
193 - #if( $showInline )#if( $foreach.first )
194 -
195 -#end* #else|#end{{thesis inline=$showInline linked='title'}}$item{{/thesis}}
196 - #end
179 +(% 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']]
180 +(% style="border-style:hidden hidden hidden hidden; font-style:normal" %)#foreach( $item in $itemMap[$year] )
181 +|{{thesis inline='false' linked='title'}}$item{{/thesis}}
182 +#end
197 197   #set( $itemYearNo = $itemMap[$year].size() )
198 198  (% style="border-style:hidden solid solid hidden; border-color:$theme.borderColor; text-align:right; font-style:oblique; font-size:smaller" %)|($itemYearNo #if( $oneCycle )#if( $itemYearNo == 1 ){{thesisCycle plural="false" uppercase="false"}}$cycle{{/thesisCycle}}#{else}{{thesisCycle plural="true" uppercase="false"}}$cycle{{/thesisCycle}}#end#else#if( $itemYearNo == 1 ){{stringEngIta eng=$objectEngSingular.toLowerCase() ita=$objectItaSingular.toLowerCase()/}}#else{{stringEngIta eng=$objectEngPlural.toLowerCase() ita=$objectItaPlural.toLowerCase()/}}#end#end / $year) [[[{{stringEngIta eng='top' ita='in cima'/}}]>>||anchor="top"]] [[[{{stringEngIta eng='bottom' ita='in fondo'/}}]>>||anchor="bottom"]]
199 199  #end