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 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 2  DONE
3 -#set($pages = $services.query.hql(
3 +
4 +#foreach($p in $services.query.hql(
4 4   "select doc.fullName
5 5   from XWikiDocument doc
6 6   where doc.fullName like 'SummerFellowships2026.%'
7 7   and doc.fullName <> 'SummerFellowships2026.Done'
8 - and doc.fullName <> 'SummerFellowships2026.WebHome'
9 - and doc.fullName <> 'SummerFellowships2026.Done.WebHome'"
9 + and lower(doc.content) like '%summer fellow%'"
10 10  ).execute())##
11 11  
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 -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}}