Changes for page Summer Fellowships 2026
Last modified by Ricardo Julio Rodríguez Fernández on 2026/11/01 17:32
From version 57.1
edited by Ricardo Julio Rodríguez Fernández
on 2026/11/01 17:01
on 2026/11/01 17:01
Change comment:
There is no comment for this version
To version 69.1
edited by Ricardo Julio Rodríguez Fernández
on 2026/11/01 17:15
on 2026/11/01 17:15
Change comment:
There is no comment for this version
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -1,20 +1,47 @@ 1 1 {{velocity}} 2 2 DONE 3 3 4 -# foreach($pin$services.query.hql(4 +#set($pages = $services.query.hql( 5 5 "select doc.fullName 6 6 from XWikiDocument doc 7 7 where doc.fullName like 'SummerFellowships2026.%' 8 8 and doc.fullName <> 'SummerFellowships2026.Done' 9 - and lower(doc.content) like '%summer fellow%'" 10 -).execute())## 9 + and doc.fullName <> 'SummerFellowships2026.WebHome' 10 + and doc.fullName <> 'SummerFellowships2026.Done.WebHome'" 11 +).execute()) 11 11 12 -#set($pageDoc = $xwiki.getDocument($p))## 13 -#set($parts = $pageDoc.content.split("==="))## 13 +#foreach($p in $pages) 14 14 15 -#if($parts.size() >= 3)## 16 -<a href="$xwiki.getURL($p,'view')">$parts.get(1).trim()</a><br/> 17 -#end## 15 +#set($pageDoc = $xwiki.getDocument($p)) 18 18 17 +#if($pageDoc.content.toLowerCase().contains("summer fellow")) 18 + 19 +#set($parts = $pageDoc.content.split("===")) 20 + 21 +#if($parts.size() >= 3) 22 +$parts.get(1).trim() 19 19 #end 24 + 25 +#end 26 + 27 +#end 28 + 29 +OFFERED 30 + 31 +#foreach($p in $pages) 32 + 33 +#set($pageDoc = $xwiki.getDocument($p)) 34 + 35 +#if(!$pageDoc.content.toLowerCase().contains("summer fellow")) 36 + 37 +#set($parts = $pageDoc.content.split("===")) 38 + 39 +#if($parts.size() >= 3) 40 +$parts.get(1).trim() 41 +#end 42 + 43 +#end 44 + 45 +#end 46 + 20 20 {{/velocity}}