# HG changeset patch # User Lennard de Rijk # Date 1239138749 0 # Node ID b148456b4939b0f12a078df58b7bb2d5a691981b # Parent 15cfe49eea42a199bc8888cd33554dc708fc0a5c Changed StudentProposal list to show the amount of pending mentors if none have been assigned. Addresses Issue 551. Patch by: Lennard de Rijk Reviewed by: to-be-reviewed diff -r 15cfe49eea42 -r b148456b4939 app/soc/templates/soc/student_proposal/list/detailed_row.html --- a/app/soc/templates/soc/student_proposal/list/detailed_row.html Tue Apr 07 18:50:24 2009 +0000 +++ b/app/soc/templates/soc/student_proposal/list/detailed_row.html Tue Apr 07 21:12:29 2009 +0000 @@ -12,7 +12,11 @@
{{ list.item.scope.name }}
{% if not list.item.mentor %} - None + {% if list.item.possible_mentors %} + {{ list.item.possible_mentors|length }} Pending + {% else %} + None + {% endif %} {% else %} {{ list.item.mentor.name }} {% endif %}