Changes for page Summer Fellowships 2026

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

From version 71.1
edited by Ricardo Julio Rodríguez Fernández
on 2026/11/01 17:17
Change comment: There is no comment for this version
To version 79.1
edited by Ricardo Julio Rodríguez Fernández
on 2026/11/01 17:32
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -1,5 +1,4 @@
1 1  {{velocity}}
2 -DONE
3 3  #set($pages = $services.query.hql(
4 4   "select doc.fullName
5 5   from XWikiDocument doc
... ... @@ -9,23 +9,27 @@
9 9   and doc.fullName <> 'SummerFellowships2026.Done.WebHome'"
10 10  ).execute())##
11 11  
11 +DONE
12 12  #foreach($p in $pages)##
13 13  #set($pageDoc = $xwiki.getDocument($p))##
14 14  #if($pageDoc.content.toLowerCase().contains("summer fellow"))##
15 15  #set($parts = $pageDoc.content.split("==="))##
16 16  #if($parts.size() >= 3)##
17 -$parts.get(1).trim()
17 +#set($title = $parts.get(1).trim())##
18 +[[$title>>$p||target="_blank"]]
18 18  #end##
19 19  #end##
20 20  #end##
21 21  
22 -OFFERED
23 +
24 +ALSO OFFERED
23 23  #foreach($p in $pages)##
24 24  #set($pageDoc = $xwiki.getDocument($p))##
25 25  #if(!$pageDoc.content.toLowerCase().contains("summer fellow"))##
26 26  #set($parts = $pageDoc.content.split("==="))##
27 27  #if($parts.size() >= 3)##
28 -$parts.get(1).trim()
30 +#set($title = $parts.get(1).trim())##
31 +[[$title>>$p||target="_blank"]]
29 29  #end##
30 30  #end##
31 31  #end##