Changes for page Summer Fellowships 2026

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

From version 67.1
edited by Ricardo Julio Rodríguez Fernández
on 2026/11/01 17:12
Change comment: There is no comment for this version
To version 78.1
edited by Ricardo Julio Rodríguez Fernández
on 2026/11/01 17:31
Change comment: There is no comment for this version

Summary

Details

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