Fix mistakes in Host List templates. Change Host List second row to Sponsor name instead of Sponsor link name.
authorPawel Solyga <Pawel.Solyga@gmail.com>
Thu, 23 Oct 2008 11:42:22 +0000
changeset 414 4877e9d83743
parent 413 ec1b590418df
child 415 6488ff168b42
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
app/soc/templates/soc/host/list/host_heading.html
app/soc/templates/soc/host/list/host_row.html
--- 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>