Changes for page Forthcoming

From version 58.1
edited by Andrea Omicini
on 16/06/2023 13:09
Change comment: There is no comment for this version
To version 50.1
edited by Andrea Omicini
on 12/05/2023 17:57
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -1,6 +1,4 @@
1 -{{velocity}}
2 -{{html wiki="true" clean="false"}}
3 -#template('apice_events.vm')
1 +{{include reference="Events.Environment" excludeFirstHeading="true"/}}{{velocity}}
4 4  ##
5 5  #if( !$userName || $userName == "" || !$userSpace || $userSpace == "" || !$userFullname || $userFullname == "" )
6 6  ## overall forthcoming events
... ... @@ -14,17 +14,11 @@
14 14  #set( $eventsFound = $xwiki.searchDocuments($query) )
15 15  ##
16 16  #if( $eventsFound.size() > 0 )
17 ->$services.localization.render('forthcomingevents').toLowerCase()
15 +>{{stringEngIta eng="forthcoming events" ita="eventi in arrivo"/}}
18 18  
19 -#template('apice_event_macros.vm')
20 -<div>
21 21   #foreach($event in $eventsFound)
22 - #if( !$foreach.first )
23 - <span class="menumainbody">&ensp;&bull;&ensp;</span>
24 - #end
25 - #eventlinked($event) <span class="textsecondary">(#eventyears($event))</span>
26 - #end
27 -</div>
18 + #set( $eventDoc = $xwiki.getDocument($event) )
19 +#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
20 +(%%)
28 28  #end
29 -{{/html}}
30 -{{/velocity}}{{pageDisplay sort="objectservice"/}}
22 +{{/velocity}}{{noShortcuts/}}{{noTagFooter/}}