Changes for page Per Year

From version 131.3
edited by Andrea Omicini
on 30/01/2023 12:15
Change comment: There is no comment for this version
To version 132.3
edited by Andrea Omicini
on 09/02/2023 00:33
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -1,9 +1,11 @@
1 1  = {{italiano}}Per anno{{/italiano}}{{english}}Per Year{{/english}} =
2 2  
3 -{{include reference="Theses.Environment" excludeFirstHeading="true"/}}{{velocity}}
3 +{{include reference="Main.Environment" excludeFirstHeading="true"/}}{{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() )
7 7  ## who
8 8  #set( $userNamePar = $request.user.trim() )
9 9  #set( $firstNamePar = $request.name.trim() )
... ... @@ -139,6 +139,17 @@
139 139  ##
140 140  ## $oneUser, $apiceUser, $userString, $userFirstName, $userLastName, $oneCycle, $cycleList, $oneYear, $yearList are properly set
141 141  ##
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 +##
142 142  #### HANDLE PARAMETERS / END
143 143  ##
144 144  ## query to structures
... ... @@ -160,7 +160,7 @@
160 160  ## output results
161 161  ## page subtitle
162 162  {{id name="top"/}}
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}(%%)
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}(%%)
164 164  
165 165  ## stop if no thesis is found
166 166  #if( $itemNo == 0 || $itemMap.keySet().size() == 0 )
... ... @@ -172,7 +172,7 @@
172 172  #if( $itemMap.keySet().size() > 1 )
173 173  ## found more than one year
174 174  {{id name="index"/}}
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)))
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)))
176 176  #end
177 177  ## theses displayed per year
178 178  #foreach( $year in $itemMap.keySet() )