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 47.2
edited by Andrea Omicini
on 06/05/2023 16:22
Change comment: There is no comment for this version

Summary

Details

Page properties
Title
... ... @@ -1,1 +1,0 @@
1 -$services.localization.render('forthcoming')
Default language
... ... @@ -1,0 +1,1 @@
1 +en
Content
... ... @@ -1,5 +1,6 @@
1 -{{velocity}}
2 -#template('apice_events.vm')
1 += {{italiano}}In arrivo{{/italiano}}{{english}}Forthcoming{{/english}} =
2 +
3 +{{include reference="Events.Environment" excludeFirstHeading="true"/}}{{velocity}}
3 3  ##
4 4  #if( !$userName || $userName == "" || !$userSpace || $userSpace == "" || !$userFullname || $userFullname == "" )
5 5  ## overall forthcoming events
... ... @@ -13,16 +13,11 @@
13 13  #set( $eventsFound = $xwiki.searchDocuments($query) )
14 14  ##
15 15  #if( $eventsFound.size() > 0 )
16 ->$services.localization.render('forthcomingevents').toLowerCase()
17 +>{{stringEngIta eng="forthcoming events" ita="eventi in arrivo"/}}
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>
20 + #set( $eventDoc = $xwiki.getDocument($event) )
21 +#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
22 +(%%)
27 27  #end
28 -{{/velocity}}{{pageDisplay sort="objectservice"/}}
24 +{{/velocity}}{{noShortcuts/}}