Changes for page Per Year

From version 157.1
edited by Andrea Omicini
on 30/06/2023 21:38
Change comment: There is no comment for this version
To version 160.1
edited by Andrea Omicini
on 02/07/2023 10:51
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -1,7 +5,3 @@
1 -
2 -1. List item
3 -1. List item
4 -1. List item
5 5  {{velocity}}
6 6  {{html wiki="true" clean="false"}}
7 7  #template('apice_boolean.vm')
... ... @@ -134,12 +134,35 @@
134 134  ##
135 135  ## year display / start
136 136  <div style="font-style: normal"><ul>
137 -#foreach( $item in $itemMap[$year] )
138 -<li>#thesislinked($item)</li>
139 -#end
133 + #foreach( $item in $itemMap[$year] )
134 +<li>#thesisyear($item)</li>
135 + #end
140 140  </ul></div>
141 141  ## year display / end
142 142  ##
139 +## year bottom / start
140 +<div #if( $foreach.last )id="bottom"#end class="mainselectbottom">
141 + #set( $itemYearNo = $itemMap[$year].size() )
142 + $itemYearNo
143 + #if( $oneCycle )
144 + #if( $itemYearNo == 1 )
145 + {{thesisCycle plural="false" uppercase="false"}}$cycle{{/thesisCycle}}
146 + #else
147 + {{thesisCycle plural="true" uppercase="false"}}$cycle{{/thesisCycle}}
148 + #end
149 + #else
150 + #if( $itemYearNo == 1 )
151 + $services.localization.render('thesis').toLowerCase()
152 + #else
153 + $services.localization.render('theses').toLowerCase()
154 + #end
155 + #end
156 + <span class="textsecondary">&ensp;/&ensp;</span>
157 + $year
158 + &ensp;&bull;&ensp;
159 + #anchorlinks()
160 +</div>
161 +## year bottom / end
143 143  #end
144 144  ## DISPLAY / END
145 145  {{/html}}