Now showing student name in list proposal views.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
--- a/app/soc/templates/soc/student_proposal/list/detailed_heading.html Mon Mar 23 22:43:14 2009 +0000
+++ b/app/soc/templates/soc/student_proposal/list/detailed_heading.html Tue Mar 24 08:46:18 2009 +0000
@@ -1,7 +1,7 @@
<tr align="left">
- <th>Rank</th>
- <th class="first" align="right">Student</th>
+ <th class="first" align="right">Rank</th>
<th>Title</th>
+ <th>Student</th>
<th>Status</th>
<th>Score</th>
<th>Last Modified on</th>
--- a/app/soc/templates/soc/student_proposal/list/detailed_row.html Mon Mar 23 22:43:14 2009 +0000
+++ b/app/soc/templates/soc/student_proposal/list/detailed_row.html Tue Mar 24 08:46:18 2009 +0000
@@ -5,11 +5,11 @@
{% endifequal %}
onclick="document.location.href='{{ list.redirect }}'" name="name">
<td><div class="rank">{{ list.info.rank }}</a></div></td>
- <td align="right"><div class="name"><a class="noul"
- href="{{ list.redirect }}">{{ list.item.scope.link_id }}</a>
+ <td align="right"><div class="title"><a class="noul"
+ href="{{ list.redirect }}">{{ list.item.title }}</a>
</div>
</td>
- <td><div class="title">{{ list.item.title }}</a></div></td>
+ <td><div class="name">{{ list.item.scope.name }}</a></div></td>
<td><div class="status">{{ list.item.status }}</a></div></td>
<td><div class="score">{{ list.item.score }}</a></div></td>
<td><div class="date">{{ list.item.last_modified_on|date:"jS F Y H:i" }}</a></div></td>
--- a/app/soc/templates/soc/student_proposal/list/heading.html Mon Mar 23 22:43:14 2009 +0000
+++ b/app/soc/templates/soc/student_proposal/list/heading.html Tue Mar 24 08:46:18 2009 +0000
@@ -1,6 +1,6 @@
<tr align="left">
- <th class="first" align="right">Student</th>
- <th>Title</th>
+ <th class="first" align="right">Title</th>
+ <th>Student</th>
<th>Organization Name</th>
<th>Last Modified on</th>
</tr>
--- a/app/soc/templates/soc/student_proposal/list/row.html Mon Mar 23 22:43:14 2009 +0000
+++ b/app/soc/templates/soc/student_proposal/list/row.html Tue Mar 24 08:46:18 2009 +0000
@@ -1,10 +1,10 @@
<tr class="off" onmouseover="this.className='on'" onmouseout="this.className='off'"
onclick="document.location.href='{{ list.redirect }}'" name="name">
- <td align="right"><div class="name"><a class="noul"
- href="{{ list.redirect }}">{{ list.item.scope.link_id }}</a>
+ <td align="right"><div class="title"><a class="noul"
+ href="{{ list.redirect }}">{{ list.item.title }}</a>
</div>
</td>
- <td><div class="title">{{ list.item.title }}</a></div></td>
+ <td><div class="name">{{ list.item.scope.name }}</a></div></td>
<td><div class="status">{{ list.item.org.name }}</a></div></td>
<td><div class="date">{{ list.item.last_modified_on|date:"jS F Y H:i" }}</a></div></td>
</tr>