Changed StudentProposal list to show the amount of pending mentors if none have been...
[Melange.git] / app / soc / templates / soc / student_proposal / list / detailed_row.html
bloba751478ba1969f05197c1e2aa93b3c3bb7ac5b4c
1 {% ifequal list.info.item_class "selected" %}
2 <tr class="assignedslot" onmouseover="this.className='on'" onmouseout="this.className='assignedslot'"
3 {% else %}
4 <tr class="off" onmouseover="this.className='on'" onmouseout="this.className='off'"
5 {% endifequal %}
6 onclick="document.location.href='{{ list.redirect }}'" name="name">
7 <td><div class="rank">{{ list.info.rank }}</a></div></td>
8 <td align="right"><div class="title"><a class="noul"
9 href="{{ list.redirect }}">{{ list.item.title }}</a>
10 </div>
11 </td>
12 <td><div class="name">{{ list.item.scope.name }}</a></div></td>
13 <td><div class="name">
14 {% if not list.item.mentor %}
15 {% if list.item.possible_mentors %}
16 {{ list.item.possible_mentors|length }} Pending
17 {% else %}
18 None
19 {% endif %}
20 {% else %}
21 {{ list.item.mentor.name }}
22 {% endif %}
23 </a></div></td>
24 <td><div class="score">{{ list.item.score }}</a></div></td>
25 <td><div class="date">{{ list.item.last_modified_on|date:"jS F Y H:i" }}</a></div></td>
26 </tr>