Changes for page Per Year
From version 137.1
edited by Andrea Omicini
on 30/06/2023 16:56
on 30/06/2023 16:56
Change comment:
There is no comment for this version
To version 139.1
edited by Andrea Omicini
on 30/06/2023 17:01
on 30/06/2023 17:01
Change comment:
There is no comment for this version
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -135,17 +135,6 @@ 135 135 ## 136 136 ## $oneUser, $apiceUser, $userString, $userFirstName, $userLastName, $oneCycle, $cycleList, $oneYear, $yearList are properly set 137 137 ## 138 -## handle inline / start 139 -## 140 -## default: false 141 -#set( $showInline = false ) 142 -## check $inlinePar 143 -#if( $inlinePar != "" && $trueStringList.contains($inlinePar.toLowerCase()) ) 144 - #set( $showInline = true ) 145 -#end 146 -## 147 -## handle inline / end 148 -## 149 149 #### HANDLE PARAMETERS / END 150 150 ## 151 151 ## query to structures ... ... @@ -182,14 +182,14 @@ 182 182 (% 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))) 183 183 #end 184 184 ## theses displayed per year 174 +## 175 +#template('apice_thesis_macros.vm') 176 +## 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']]178 +(% 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 - #if( $showInline ) 189 - #if( $foreach.first ) 190 - #end 191 -* #else(% style="border-style:hidden hidden hidden hidden; font-style:normal" %)|#end{{thesis inline=$showInline linked='title'}}$item{{/thesis}} 192 - #end 180 +* #thesislinked($item) 181 +#end 193 193 #set( $itemYearNo = $itemMap[$year].size() ) 194 194 (% 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 )$services.localization.render('thesis').toLowerCase()#else$services.localization.render('theses').toLowerCase()#end#end / $year) [[[{{stringEngIta eng='top' ita='in cima'/}}]>>||anchor="top"]] [[[{{stringEngIta eng='bottom' ita='in fondo'/}}]>>||anchor="bottom"]] 195 195 #end