Add the amount of proposals and mentors to slots view
Patch by: Sverre Rabbelier
--- a/app/soc/templates/soc/program/allocation/heading.html Mon Apr 06 22:54:41 2009 +0000
+++ b/app/soc/templates/soc/program/allocation/heading.html Mon Apr 06 22:55:08 2009 +0000
@@ -1,6 +1,8 @@
<tr align="left">
<th>Name</th>
<th>Desired</th>
+ <th>#Proposals</th>
+ <th>#Mentors</th>
<th>Locked?</th>
<th>Slots</th>
<th>Adjustment</th>
--- a/app/soc/templates/soc/program/allocation/row.html Mon Apr 06 22:54:41 2009 +0000
+++ b/app/soc/templates/soc/program/allocation/row.html Mon Apr 06 22:55:08 2009 +0000
@@ -1,6 +1,8 @@
<tr class="off" onmouseover="this.className='on'" onmouseout="this.className='off'" name="name">
<td><div class="name">{{ list.item.name }}</div></td>
<td><div class="desired">{{ list.item.slots_desired }}</div></td>
+ <td><div class="proposals">{{ list.item.nr_applications }}</div></td>
+ <td><div class="mentors">{{ list.item.nr_mentors }}</div></td>
<td>
<div class="locked" id="locked_slot_count_{{ list.item.link_id }}">
<input type="checkbox" id="id_locked_slot_{{ list.item.link_id }}"