Changes for page Forthcoming

From version 57.1
edited by Andrea Omicini
on 16/06/2023 13:09
Change comment: There is no comment for this version
To version 56.1
edited by Andrea Omicini
on 10/06/2023 10:05
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -15,14 +15,9 @@
15 15  #if( $eventsFound.size() > 0 )
16 16  >$services.localization.render('forthcomingevents').toLowerCase()
17 17  
18 -#template('apice_event_macros.vm')
19 -<div>
20 20   #foreach($event in $eventsFound)
21 - #if( !$foreach.first )
22 - <span class="menumainbody">&ensp;&bull;&ensp;</span>
23 - #end
24 - #eventlinked($event) <span class="textsecondary">(#eventyears($event))</span>
25 - #end
26 -</div>
19 + #set( $eventDoc = $xwiki.getDocument($event) )
20 +#if( !$foreach.first ){{themeTextSecondary}} • {{/themeTextSecondary}} #end#if( $eventDoc.getValue('sort') != 'special issue' ){{event short="true"}}$eventDoc{{/event}}#{else}{{event short="title" linked="title"}}$eventDoc{{/event}}#end #end
21 +(%%)
27 27  #end
28 28  {{/velocity}}{{pageDisplay sort="objectservice"/}}