Changes for page Summer Fellowships 2026

Last modified by Ricardo Julio Rodríguez Fernández on 2026/11/01 17:32

From version 53.1
edited by Ricardo Julio Rodríguez Fernández
on 2026/11/01 16:58
Change comment: There is no comment for this version
To version 60.1
edited by Ricardo Julio Rodríguez Fernández
on 2026/11/01 17:03
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -1,5 +1,7 @@
1 1  {{velocity}}
2 -#set($pagesDone = $services.query.hql(
2 +DONE
3 +
4 +#foreach($p in $services.query.hql(
3 3   "select doc.fullName
4 4   from XWikiDocument doc
5 5   where doc.fullName like 'SummerFellowships2026.%'
... ... @@ -7,11 +7,31 @@
7 7   and lower(doc.content) like '%summer fellow%'"
8 8  ).execute())##
9 9  
10 -#foreach($p in $pagesDone)##
11 11  #set($pageDoc = $xwiki.getDocument($p))##
12 12  #set($parts = $pageDoc.content.split("==="))##
14 +
13 13  #if($parts.size() >= 3)##
14 -$services.rendering.render("[[$parts.get(1).trim()>>$p]]", "xwiki/2.1")
16 +[[$parts.get(1).trim()>>$p]]
15 15  #end##
18 +
16 16  #end##
20 +
21 +OFFERED
22 +
23 +#foreach($p in $services.query.hql(
24 + "select doc.fullName
25 + from XWikiDocument doc
26 + where doc.fullName like 'SummerFellowships2026.%'
27 + and doc.fullName <> 'SummerFellowships2026.Done'
28 + and lower(doc.content) not like '%summer fellow%'"
29 +).execute())##
30 +
31 +#set($pageDoc = $xwiki.getDocument($p))##
32 +#set($parts = $pageDoc.content.split("==="))##
33 +
34 +#if($parts.size() >= 3)##
35 +[[$parts.get(1).trim()>>$p]]
36 +#end##
37 +
38 +#end##
17 17  {{/velocity}}