Changes for page Summer Fellowships 2026

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

From version 61.1
edited by Ricardo Julio Rodríguez Fernández
on 2026/11/01 17:05
Change comment: There is no comment for this version
To version 50.1
edited by Ricardo Julio Rodríguez Fernández
on 2026/11/01 16:55
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -1,18 +1,40 @@
1 1  {{velocity}}
2 +DONE
3 +
4 +#set($pagesDone = $services.query.hql(
5 + "select doc.fullName
6 + from XWikiDocument doc
7 + where doc.fullName like 'SummerFellowships2026.%'
8 + and doc.fullName <> 'SummerFellowships2026.Done'
9 + and lower(doc.content) like '%summer fellow%'"
10 +).execute())##
11 +
12 +#foreach($p in $pagesDone)##
13 +#set($pageDoc = $xwiki.getDocument($p))##
14 +#set($parts = $pageDoc.content.split("==="))##
15 +#if($parts.size() >= 3)##
16 +<a href="$xwiki.getURL($p)">$parts.get(1).trim()</a><br/>
17 +#end##
18 +#end##
19 +
20 +<br/><br/>
21 +
22 +OFFERED
23 +
2 2  #set($pagesOffered = $services.query.hql(
3 3   "select doc.fullName
4 4   from XWikiDocument doc
5 5   where doc.fullName like 'SummerFellowships2026.%'
6 - and doc.fullName <> 'SummerFellowships2026.Done'"
28 + and doc.fullName <> 'SummerFellowships2026.Done'
29 + and lower(doc.content) not like '%summer fellow%'"
7 7  ).execute())##
8 8  
9 9  #foreach($p in $pagesOffered)##
10 10  #set($pageDoc = $xwiki.getDocument($p))##
11 -#if(!$pageDoc.content.toLowerCase().contains('summer fellow'))##
12 -#set($parts = $pageDoc.content.split('==='))##
34 +#set($parts = $pageDoc.content.split("==="))##
13 13  #if($parts.size() >= 3)##
14 -[[$parts.get(1).trim()>>$p]]
36 +<a href="$xwiki.getURL($p)">$parts.get(1).trim()</a><br/>
15 15  #end##
16 16  #end##
17 -#end##
39 +
18 18  {{/velocity}}