app/soc/templates/soc/group/list/group_row.html
author Pawel Solyga <Pawel.Solyga@gmail.com>
Wed, 15 Oct 2008 20:24:02 +0000
changeset 344 d135c8c09967
parent 330 2ef48e962655
child 360 5ad9cabb5892
permissions -rw-r--r--
Change verbose_name of founder property in Group model from "Created by" to "Founded by". Add GROUP_TYPE_SHORT and GROUP_TYPE_PLURAL for all models that inherit from Group and use that values in templates and contexts. Assume that group_type, group_type_short and group_type_plural are defined in context and remove not needed ifs in templates. Rename "Linkname" to "Link name" in list/group_heading.html template. Patch by: Pawel Solyga Review by: to-be-reviewed

<tr class="off" onmouseover="this.className='on'" onmouseout="this.className='off'" 
onclick="document.location.href='/site/{{ group_type_short|lower }}/profile/{{ data_element.link_name }}'" name="name">
  <td align="right"><div class="name"><a class="noul"
         href="/site/{{ group_type_short|lower }}/profile/{{ data_element.link_name }}">{{ data_element.name }}</a>
     </div>
  </td>
  <td><div class="link_name">{{ data_element.link_name }}</a></div></td>
  <td><div class="short_name">{{ data_element.short_name }}</div></td>
</tr>