Changes for page Per Year
From 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
To 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
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -135,6 +135,17 @@ 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 +## 138 138 #### HANDLE PARAMETERS / END 139 139 ## 140 140 ## query to structures ... ... @@ -171,14 +171,14 @@ 171 171 (% 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))) 172 172 #end 173 173 ## theses displayed per year 174 -## 175 -#template('apice_thesis_macros.vm') 176 -## 177 177 #foreach( $year in $itemMap.keySet() ) 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']] 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']] 179 179 #foreach( $item in $itemMap[$year] ) 180 -* #thesislinked($item) 181 -#end 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 182 182 #set( $itemYearNo = $itemMap[$year].size() ) 183 183 (% 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"]] 184 184 #end