Add the amount of proposals and mentors to slots view
authorSverre Rabbelier <srabbelier@gmail.com>
Mon, 06 Apr 2009 22:55:08 +0000
changeset 2105 eb92d9a6b027
parent 2104 b9b6b35d80b6
child 2106 2131c4b05ca3
Add the amount of proposals and mentors to slots view Patch by: Sverre Rabbelier
app/soc/templates/soc/program/allocation/heading.html
app/soc/templates/soc/program/allocation/row.html
--- 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 }}"