Changes for page Per Year

From version 147.1
edited by Andrea Omicini
on 30/06/2023 20:32
Change comment: There is no comment for this version
To version 148.1
edited by Andrea Omicini
on 30/06/2023 20:37
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -103,12 +103,36 @@
103 103   #set( $itemNo = $itemNo + $itemYearNo )
104 104   #end
105 105  #end
106 +## DATA STRUCTURES / END
106 106  ##
107 -## output results
108 +## DISPLAY / START
108 108  ## page subtitle
109 -{{id name="top"/}}
110 ->(%%)$itemNo #if( $itemNo == 1 )#if( $oneCycle ){{thesisCycle plural="false" uppercase="false"}}$cycle{{/thesisCycle}}#else$services.localization.render('thesis').toLowerCase()#end#{else}#if( $oneCycle ){{thesisCycle plural="true" uppercase="false"}}$cycle{{/thesisCycle}}#else$services.localization.render('theses').toLowerCase()#end#{end} / #if( $oneYear )$year#else$firstYear–$lastYear#{end}#if( $oneUser ) / $userFirstName $userLastName#{end}(%%)
111 -
110 +<div class="mainheader">
111 +$itemNo
112 +#if( $itemNo == 1 )
113 + #if( $oneCycle )
114 + {{thesisCycle plural="false" uppercase="false"}}$cycle{{/thesisCycle}}
115 + #else
116 + $services.localization.render('thesis').toLowerCase()
117 + #end
118 +#{else}
119 + #if( $oneCycle )
120 + {{thesisCycle plural="true" uppercase="false"}}$cycle{{/thesisCycle}}
121 + #else
122 + $services.localization.render('theses').toLowerCase()
123 + #end
124 +#{end}
125 +<span class="textsecondary">&ensp;/&ensp;</span>
126 +#if( $oneYear )
127 + $year
128 +#else
129 + $firstYear–$lastYear
130 +#{end}
131 +#if( $oneUser )
132 + <span class="textsecondary">&ensp;/&ensp;</span>
133 + $userFirstName $userLastName
134 +#end
135 +</div>
112 112  ## stop if no thesis is found
113 113  #if( $itemNo == 0 || $itemMap.keySet().size() == 0 )
114 114  ## redundant double check