Changes for page Forthcoming
From version 31.2
edited by Andrea Omicini
on 19/07/2022 00:11
on 19/07/2022 00:11
Change comment:
There is no comment for this version
To version 35.1
edited by Andrea Omicini
on 27/03/2023 23:05
on 27/03/2023 23:05
Change comment:
There is no comment for this version
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -1,4 +1,4 @@ 1 -= {{italiano}} Eventiinarrivo{{/italiano}}{{english}}ForthcomingEvents{{/english}} =1 += {{italiano}}In arrivo{{/italiano}}{{english}}Forthcoming{{/english}} = 2 2 3 3 {{include reference="Events.Environment" excludeFirstHeading="true"/}}{{velocity}} 4 4 #if( !$userName || $userName == "" || !$userSpace || $userSpace == "" || !$userFullname || $userFullname == "" ) ... ... @@ -8,9 +8,9 @@ 8 8 #set( $eventFound = $xwiki.search($sql) ) 9 9 #foreach($event in $eventFound) 10 10 #set( $eventDoc = $xwiki.getDocument($event) ) 11 -# #*{{event}}$event{{/event}}12 - *{{eventAcronym}}$eventDoc{{/eventAcronym}} (% style='color:$theme.textPrimaryColor' %)({{eventDates}}$eventDoc{{/eventDates}})(%%)13 - #end11 +#if( !$foreach.first ){{themeTextSecondary}}•{{/themeTextSecondary}} #end## 12 +{{eventAcronym}}$eventDoc{{/eventAcronym}} (% style='color:$theme.textPrimaryColor' %)({{eventDates}}$eventDoc{{/eventDates}}) #end 13 +(%%) 14 14 #else 15 15 ## user forthcoming events 16 16 #set($sql = "select doc.fullName from XWikiDocument doc, BaseObject obj, DateProperty as prop, LargeStringProperty as prop1, LargeStringProperty as prop2, LargeStringProperty as prop3, LargeStringProperty as prop4, LargeStringProperty as prop5, LargeStringProperty as prop6, LargeStringProperty as prop7, LargeStringProperty as prop8 ... ... @@ -18,10 +18,12 @@ 18 18 #set( $eventsFound = $xwiki.search($sql) ) 19 19 #if( $eventsFound.size() > 0 ) 20 20 >{{stringEngIta eng="Forthcoming Events" ita="Eventi in arrivo"/}} 21 - #foreach( $event in $eventsFound ) 21 + 22 + #foreach($event in $eventsFound) 22 22 #set( $eventDoc = $xwiki.getDocument($event) ) 23 -* {{eventAcronym}}$eventDoc{{/eventAcronym}} (% style='color:$theme.textPrimaryColor' %)({{eventDates}}$eventDoc{{/eventDates}})(%%) 24 - #end 24 +#if( !$foreach.first ){{themeTextSecondary}}•{{/themeTextSecondary}} #end## 25 +{{eventAcronym}}$eventDoc{{/eventAcronym}} (% style='color:$theme.textPrimaryColor' %)({{eventDates}}$eventDoc{{/eventDates}}) #end 26 +(%%) 25 25 #end 26 26 #end 27 27 {{/velocity}}