Changes for page Per Status

From version 93.1
edited by Andrea Omicini
on 22/06/2023 13:33
Change comment: There is no comment for this version
To version 94.2
edited by Andrea Omicini
on 22/06/2023 15:14
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -29,6 +29,8 @@
29 29   #set( $showInline = false )
30 30  #end
31 31  ## HANDLE INLINE / END
32 +inline $showInline
33 +bibtext $showBibtex
32 32  ##
33 33  ## HANDLE STATUS / START
34 34  #template('apice_publications.vm')
... ... @@ -204,12 +204,11 @@
204 204   #if( $showInline && !$showBibtex )
205 205   <ul>
206 206   #foreach( $item in $itemMap[$status] )
207 - <li>#publinked($item)</li>
208 -## <li>#pubperstatus($item)</li>
209 + <li>#pubperstatus($item)</li>
209 209   #end
210 210   </ul>
211 211   #else
212 - #foreach( $item in $itemMap[$sort] )
213 + #foreach( $item in $itemMap[$status] )
213 213   #if( $showBibtex)
214 214   #if( $showInline )
215 215   ((({{{ $xwiki.getDocument($item).getValue('bibtex') }}})))