Changes for page Per Year

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

Summary

Details

Page properties
Content
... ... @@ -103,36 +103,12 @@
103 103   #set( $itemNo = $itemNo + $itemYearNo )
104 104   #end
105 105  #end
106 -## DATA STRUCTURES / END
107 107  ##
108 -## DISPLAY / START
107 +## output results
109 109  ## page subtitle
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>
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 +
136 136  ## stop if no thesis is found
137 137  #if( $itemNo == 0 || $itemMap.keySet().size() == 0 )
138 138  ## redundant double check