Modifiche per il documento Scadenze
Dalla versione 61.1
modificato da Andrea Omicini
il 23/04/2023 23:18
il 23/04/2023 23:18
Cambia il commento:
Nessun commento per questa versione
Alla versione 66.1
modificato da Andrea Omicini
il 25/04/2023 02:56
il 25/04/2023 02:56
Cambia il commento:
Nessun commento per questa versione
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -1,17 +1,13 @@ 1 1 = {{italiano}}Scadenze{{/italiano}}{{english}}Deadlines{{/english}} = 2 2 3 -{{include reference="Macros.Velocity" excludeFirstHeading="true"/}}{{include reference="Events.Environment" excludeFirstHeading="true"/}}{{velocity}} 4 -## set page display 5 -#noshortcuts() 6 -#set( $eventMenu = true ) 7 -## 3 +{{include reference="Events.Environment" excludeFirstHeading="true"/}}{{velocity}} 8 8 #if( !$userName || $userName == "" || !$userSpace || $userSpace == "" || !$userFullname || $userFullname == "" ) 9 9 ## overall incoming deadlines 10 10 #set( $query = "select doc.fullName from XWikiDocument doc, BaseObject obj, DateProperty as prop 11 - where doc.fullName = obj.name and obj.className = '$objectSpace.$objectClass' and obj.name <> '$object Space.$objectTemplate' and prop.id.id = obj.id and prop.name = 'paper_submission' and ( ( year(prop.value) > year(current_date()) ) or ( year(prop.value) = year(current_date()) and month(prop.value) > month(current_date()) ) or ( year(prop.value) = year(current_date()) and month(prop.value) = month(current_date()) and day(prop.value) > day(current_date()) ) ) order by date(prop.value) asc ")7 + where doc.fullName = obj.name and obj.className = '${objectSpace}.${objectClass}' and obj.name <> '${objectPool}.${objectTemplate}' and prop.id.id = obj.id and prop.name = 'paper_submission' and ( ( year(prop.value) > year(current_date()) ) or ( year(prop.value) = year(current_date()) and month(prop.value) > month(current_date()) ) or ( year(prop.value) = year(current_date()) and month(prop.value) = month(current_date()) and day(prop.value) > day(current_date()) ) ) order by date(prop.value) asc ") 12 12 #else 13 13 #set( $query = "select doc.fullName from XWikiDocument doc, BaseObject obj, BaseObject as obj1, LargeStringProperty as prop1, DateProperty as prop 14 - where doc.fullName = obj.name and obj.className = '$objectSpace.$objectClass' and obj.name <> '$object Space.$objectTemplate' and prop.id.id = obj.id and prop.name = 'paper_submission' and (( year(prop.value) > year(current_date()) ) or ( year(prop.value) = year(current_date()) and month(prop.value) > month(current_date()) ) or ( year(prop.value) = year(current_date()) and month(prop.value) = month(current_date()) and day(prop.value) > day(current_date()) ) ) and obj1.name = doc.fullName and obj1.className = '${objectSpace}.Roles.${objectClass}' and prop1.id.id = obj1.id and prop1.name = 'who' and prop1.value like '%$userName%' order by date(prop.value) asc " )10 + where doc.fullName = obj.name and obj.className = '${objectSpace}.${objectClass}' and obj.name <> '${objectPool}.${objectTemplate}' and prop.id.id = obj.id and prop.name = 'paper_submission' and (( year(prop.value) > year(current_date()) ) or ( year(prop.value) = year(current_date()) and month(prop.value) > month(current_date()) ) or ( year(prop.value) = year(current_date()) and month(prop.value) = month(current_date()) and day(prop.value) > day(current_date()) ) ) and obj1.name = doc.fullName and obj1.className = '${objectSpace}.Roles.${objectClass}' and prop1.id.id = obj1.id and prop1.name = 'who' and prop1.value like '%$userName%' order by date(prop.value) asc " ) 15 15 #end 16 16 ## execute query 17 17 #set( $eventsFound = $xwiki.search($query) ) ... ... @@ -24,4 +24,4 @@ 24 24 #if( !$foreach.first ) {{themeTextSecondary}}•{{/themeTextSecondary}} #end## 25 25 {{eventAcronymAt}}$eventDoc{{/eventAcronymAt}} {{themeTextPrimary}}({{eventDates}}$eventDoc{{/eventDates}}){{/themeTextPrimary}}#if( $eventDoc.display("paper_submission") != "" ){{themeTextSecondary}} – {{/themeTextSecondary}}#if( $eventDoc.display("abstract_submission") != "" )$eventDoc.display("abstract_submission") {{themeTextPrimary}}//(abstract)//{{/themeTextPrimary}}{{themeTextSecondary}} / {{/themeTextSecondary}}#end$eventDoc.display("paper_submission") {{themeTextPrimary}}//(submission)//{{/themeTextPrimary}}#end(%%)#end 26 26 #end 27 -{{/velocity}} 23 +{{/velocity}}{{noShortcuts/}}