Changes for page Summer Fellowships 2026

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

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

Summary

Details

Page properties
Content
... ... @@ -1,32 +1,20 @@
1 1  {{velocity}}
2 -#set($pages = $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.%'
6 6   and doc.fullName <> 'SummerFellowships2026.Done'
7 - and doc.fullName <> 'SummerFellowships2026.WebHome'
8 - and doc.fullName <> 'SummerFellowships2026.Done.WebHome'"
9 + and lower(doc.content) like '%summer fellow%'"
9 9  ).execute())##
10 10  
11 -DONE
12 -#foreach($p in $pages)##
13 13  #set($pageDoc = $xwiki.getDocument($p))##
14 -#if($pageDoc.content.toLowerCase().contains("summer fellow"))##
15 15  #set($parts = $pageDoc.content.split("==="))##
16 -#if($parts.size() >= 3)##
17 -$parts.get(1).trim()
18 -#end##
19 -#end##
20 -#end##
21 21  
22 -ALSO OFFERED
23 -#foreach($p in $pages)##
24 -#set($pageDoc = $xwiki.getDocument($p))##
25 -#if(!$pageDoc.content.toLowerCase().contains("summer fellow"))##
26 -#set($parts = $pageDoc.content.split("==="))##
27 27  #if($parts.size() >= 3)##
28 -$parts.get(1).trim()
16 +<a href="$xwiki.getURL($p,'view')">$parts.get(1).trim()</a><br/>
29 29  #end##
30 -#end##
31 -#end##
18 +
19 +#end
32 32  {{/velocity}}