Changes for page Per Status
From version 92.1
edited by Andrea Omicini
on 22/06/2023 13:10
on 22/06/2023 13:10
Change comment:
There is no comment for this version
To version 96.4
edited by Andrea Omicini
on 22/06/2023 20:14
on 22/06/2023 20:14
Change comment:
There is no comment for this version
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -135,14 +135,26 @@ 135 135 $itemNo 136 136 #if( $oneStatus ) 137 137 #if( $itemNo == 1 ) 138 + $services.localization.render('work').toLowerCase() 139 + <span class="textsecondary"> / </span> 138 138 $services.localization.render("${objectSpace}.${objectClass}_status_${statusList[0]}").toLowerCase() 139 139 #else 140 -$services.localization.render("${objectSpace}.${objectClass}_status_${statusList[0]}_plural").toLowerCase() #end 142 + $services.localization.render('works').toLowerCase() 143 + <span class="textsecondary"> / </span> 144 + $services.localization.render("${objectSpace}.${objectClass}_status_${statusList[0]}_plural").toLowerCase() #end 141 141 #else 142 142 #if( $itemNo == 1 ) 143 - $services.localization.render('yetunpublished_singular').toLowerCase() 147 + #if( $showPublished ) 148 + $services.localization.render('work').toLowerCase() 149 + #else 150 + $services.localization.render('yetunpublished_singular').toLowerCase() 151 + #end 144 144 #else 145 - $services.localization.render('yetunpublished').toLowerCase() 153 + #if( $showPublished ) 154 + $services.localization.render('works').toLowerCase() 155 + #else 156 + $services.localization.render('yetunpublished').toLowerCase() 157 + #end 146 146 #end 147 147 #end 148 148 #if( $oneUser ) ... ... @@ -152,9 +152,11 @@ 152 152 </div> 153 153 <div style="flex-grow: 1"> 154 154 </div> 155 - <div ">167 + <div> 156 156 <a class="basebutton" style="padding: .5em" href='$doc.getURL("view","bibtex=$showBibtex&inline=#if( $showInline )false#{else}true#end#if( $oneStatus )&status=${statusList[0]}#end#if( $apiceUser )&user=$userName#elseif( $oneUser )&name=$userFirstName&surname=$userLastName#end")'>#if( $showBibtex )#if( $showInline )formatted#{else}plain#end#else#if( $showInline )long#{else}short#end#end</a> 169 +#if( $showPublished ) 157 157 <a class="basebutton" style="padding: .5em" href='$doc.getURL("view","inline=$showInline&bibtex=#if( $showBibtex )false#{else}true#end#if( $oneStatus )&status=${statusList[0]}#end#if( $apiceUser )&user=$userName#elseif( $oneUser )&name=$userFirstName&surname=$userLastName#end")'>#if( $showBibtex )text#{else}bib#end</a> 171 +#end 158 158 </div> 159 159 </div> 160 160 ## stop if no pubs are found ... ... @@ -192,12 +192,11 @@ 192 192 #if( $showInline && !$showBibtex ) 193 193 <ul> 194 194 #foreach( $item in $itemMap[$status] ) 195 - <li>#publinked($item)</li> 196 -## <li>#pubperstatus($item)</li> 209 + <li>#pubperstatus($item)</li> 197 197 #end 198 198 </ul> 199 199 #else 200 - #foreach( $item in $itemMap[$s ort] )213 + #foreach( $item in $itemMap[$status] ) 201 201 #if( $showBibtex) 202 202 #if( $showInline ) 203 203 ((({{{ $xwiki.getDocument($item).getValue('bibtex') }}}))) ... ... @@ -208,7 +208,7 @@ 208 208 <div style="border-style:hidden hidden hidden hidden; font-size:smaller; line-height: 1.25em; margin-bottom: .5em"> 209 209 #pubauthed($item)<br/> 210 210 #pubtitle($item)<br/> 211 - <span class="textsecondary">(#pubst atus($item))</span> {{pubVenue linked="false"}}$item{{/pubVenue}}224 + <span class="textsecondary">(#pubsort($item))</span> {{pubVenue linked="false"}}$item{{/pubVenue}} 212 212 </div> 213 213 #end 214 214 #end