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