Fix mistakes in Host List templates. Change Host List second row to Sponsor name instead of Sponsor link name.
Patch by: Pawel Solyga
Review by: to-be-reviewed
--- a/app/soc/templates/soc/host/list/host_heading.html Thu Oct 23 11:20:35 2008 +0000
+++ b/app/soc/templates/soc/host/list/host_heading.html Thu Oct 23 11:42:22 2008 +0000
@@ -1,6 +1,6 @@
<tr align="left">
- <th class="first" align="right">User linkname</th>
- <th>Host linkname</th>
- <th>Given name</th>
+ <th class="first" align="right">User link name</th>
+ <th>Sponsor name</th>
+ <th>Given name</th>
<th>Surname</th>
</tr>
--- a/app/soc/templates/soc/host/list/host_row.html Thu Oct 23 11:20:35 2008 +0000
+++ b/app/soc/templates/soc/host/list/host_row.html Thu Oct 23 11:42:22 2008 +0000
@@ -1,10 +1,10 @@
<tr class="off" onmouseover="this.className='on'" onmouseout="this.className='off'"
onclick="document.location.href='/site/{{ entity_type|lower }}/profile/{{ data_element.sponsor.link_name }}/{{ data_element.user.link_name }}'" name="name">
- <td align="right"><div class="name"><a class="noul"
+ <td align="right"><div class="user_link_name"><a class="noul"
href="/site/{{ entity_type|lower }}/profile/{{ data_element.sponsor.link_name }}/{{ data_element.user.link_name }}">{{ data_element.user.link_name }}</a>
</div>
</td>
- <td><div class="sponsor_link_name">{{ data_element.sponsor.link_name }}</div></td>
+ <td><div class="sponsor_name">{{ data_element.sponsor.name }}</div></td>
<td><div class="given_name">{{ data_element.given_name }}</div></td>
<td><div class="surname">{{ data_element.surname }}</div></td>
</tr>