Last modified by Michael Hamann on 2024/03/11 13:47

<
From version < 79.1 >
edited by Alex Cotiugă
on 2018/03/16 16:20
To version < 80.1 >
edited by Eduard Moraru
on 2018/04/03 16:34
>
Change comment: Added Mentors section and hidden Selected Projects section (because it's too soon for it).

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -xwiki:XWiki.acotiuga
1 +xwiki:XWiki.enygma
Content
... ... @@ -5,6 +5,7 @@
5 5  
6 6  #set ($selectedProjectDocuments = [])
7 7  #set ($selectedStudents = [])
8 +#set ($availableMentorsMap = {})
8 8  #foreach ($item in $projects)
9 9   #set ($projectDocument = $xwiki.getDocument($item))
10 10   #set ($projectObject = $projectDocument.getObject('GoogleSummerOfCode.ProjectClass'))
... ... @@ -14,6 +14,11 @@
14 14   #set ($discard = $selectedProjectDocuments.add($projectDocument))
15 15   #set ($discard = $selectedStudents.add($projectStudent))
16 16   #end
18 + #set ($projectMentors = $projectObject.getValue('leader').split(','))
19 + #foreach ($projectMentor in $projectMentors)
20 + ## Store it like this so that we can sort by the reference lowercase (poor man's ignore case sorting).
21 + #set ($discard = $availableMentorsMap.put($projectMentor.trim().toLowerCase(), $projectMentor.trim()))
22 + #end
17 17  #end
18 18  
19 19  #macro (displayProject $project $item $student)
... ... @@ -63,7 +63,6 @@
63 63  
64 64  {{comment}}
65 65  The velocity code below (for displaying selected projects) should be commented on next year's GSoC and un-commented only after the projects selection period finishes.
66 -{{/comment}}
67 67  
68 68  {{velocity}}
69 69  = Selected Projects for GSoC ${gsocYear} ($selectedProjectDocuments.size()) =
... ... @@ -76,6 +76,8 @@
76 76  #end
77 77  {{/velocity}}
78 78  
84 +{{/comment}}
85 +
79 79  (((
80 80  = Proposed Projects ({{velocity}}$projects.size(){{/velocity}}) =
81 81  
... ... @@ -124,6 +124,18 @@
124 124  #end
125 125  {{/velocity}}
126 126  
134 += Mentors ({{velocity}}$availableMentorsMap.size(){{/velocity}}) =
135 +
136 +The following community members are assigned to mentor the proposed projects:
137 +
138 +{{velocity}}
139 +{{html clean="false"}}
140 +#foreach ($mentor in $sorttool.sort($availableMentorsMap.keySet()))
141 + #displayUser($availableMentorsMap.get($mentor))
142 +#end
143 +{{/html}}
144 +{{/velocity}}
145 +
127 127  = Contact us =
128 128  
129 129  You can ask for more information about each project proposal and interact with the community and mentors through the usual communication channels: [[mailing list>>Community.MailingLists]] ([[devs AT xwiki.org>>http://lists.xwiki.org/mailman/listinfo/devs]]) or the [[IRC channel>>Community.IRC]].

Get Connected