Changes for page Per Status
From version 96.2
edited by Andrea Omicini
on 22/06/2023 20:05
on 22/06/2023 20:05
Change comment:
There is no comment for this version
To 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
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -135,26 +135,14 @@ 135 135 $itemNo 136 136 #if( $oneStatus ) 137 137 #if( $itemNo == 1 ) 138 - $services.localization.render('work').toLowerCase() 139 - <span class="textsecondary"> / </span> 140 140 $services.localization.render("${objectSpace}.${objectClass}_status_${statusList[0]}").toLowerCase() 141 141 #else 142 - $services.localization.render('works').toLowerCase() 143 - <span class="textsecondary"> / </span> 144 - $services.localization.render("${objectSpace}.${objectClass}_status_${statusList[0]}_plural").toLowerCase() #end 140 +$services.localization.render("${objectSpace}.${objectClass}_status_${statusList[0]}_plural").toLowerCase() #end 145 145 #else 146 146 #if( $itemNo == 1 ) 147 - #if( $showPublished ) 148 - $services.localization.render('work').toLowerCase() 149 - #else 150 - $services.localization.render('yetunpublished_singular').toLowerCase() 151 - #end 143 + $services.localization.render('yetunpublished_singular').toLowerCase() 152 152 #else 153 - #if( $showPublished ) 154 - $services.localization.render('works').toLowerCase() 155 - #else 156 - $services.localization.render('yetunpublished').toLowerCase() 157 - #end 145 + $services.localization.render('yetunpublished').toLowerCase() 158 158 #end 159 159 #end 160 160 #if( $oneUser ) ... ... @@ -164,11 +164,9 @@ 164 164 </div> 165 165 <div style="flex-grow: 1"> 166 166 </div> 167 - <div> 155 + <div"> 168 168 <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 ) 170 170 <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 172 172 </div> 173 173 </div> 174 174 ## stop if no pubs are found ... ... @@ -206,11 +206,12 @@ 206 206 #if( $showInline && !$showBibtex ) 207 207 <ul> 208 208 #foreach( $item in $itemMap[$status] ) 209 - <li>#pubperstatus($item)</li> 195 + <li>#publinked($item)</li> 196 +## <li>#pubperstatus($item)</li> 210 210 #end 211 211 </ul> 212 212 #else 213 - #foreach( $item in $itemMap[$st atus] )200 + #foreach( $item in $itemMap[$sort] ) 214 214 #if( $showBibtex) 215 215 #if( $showInline ) 216 216 ((({{{ $xwiki.getDocument($item).getValue('bibtex') }}}))) ... ... @@ -221,7 +221,7 @@ 221 221 <div style="border-style:hidden hidden hidden hidden; font-size:smaller; line-height: 1.25em; margin-bottom: .5em"> 222 222 #pubauthed($item)<br/> 223 223 #pubtitle($item)<br/> 224 - <span class="textsecondary">(#pubs ort($item))</span> {{pubVenue linked="false"}}$item{{/pubVenue}}211 + <span class="textsecondary">(#pubstatus($item))</span> {{pubVenue linked="false"}}$item{{/pubVenue}} 225 225 </div> 226 226 #end 227 227 #end