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-- |
257
878f9ec9dd07
Add group templates that can be used by Sponsor, Organization, School, Club views. Right now only upcoming commit of Sponsor views is using it.
Pawel Solyga <Pawel.Solyga@gmail.com>
parents:
diff
changeset
|
1 |
<tr class="off" onmouseover="this.className='on'" onmouseout="this.className='off'" |
344
d135c8c09967
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.
Pawel Solyga <Pawel.Solyga@gmail.com>
parents:
330
diff
changeset
|
2 |
onclick="document.location.href='/site/{{ group_type_short|lower }}/profile/{{ data_element.link_name }}'" name="name"> |
257
878f9ec9dd07
Add group templates that can be used by Sponsor, Organization, School, Club views. Right now only upcoming commit of Sponsor views is using it.
Pawel Solyga <Pawel.Solyga@gmail.com>
parents:
diff
changeset
|
3 |
<td align="right"><div class="name"><a class="noul" |
344
d135c8c09967
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.
Pawel Solyga <Pawel.Solyga@gmail.com>
parents:
330
diff
changeset
|
4 |
href="/site/{{ group_type_short|lower }}/profile/{{ data_element.link_name }}">{{ data_element.name }}</a> |
257
878f9ec9dd07
Add group templates that can be used by Sponsor, Organization, School, Club views. Right now only upcoming commit of Sponsor views is using it.
Pawel Solyga <Pawel.Solyga@gmail.com>
parents:
diff
changeset
|
5 |
</div> |
878f9ec9dd07
Add group templates that can be used by Sponsor, Organization, School, Club views. Right now only upcoming commit of Sponsor views is using it.
Pawel Solyga <Pawel.Solyga@gmail.com>
parents:
diff
changeset
|
6 |
</td> |
298
c76a366c7ab4
Replace almost all occurences of linkname with link_name
Sverre Rabbelier <srabbelier@gmail.com>
parents:
257
diff
changeset
|
7 |
<td><div class="link_name">{{ data_element.link_name }}</a></div></td> |
330
2ef48e962655
Add underscore in two word div class names in templates (nick_name, short_name, partial_path).
Pawel Solyga <Pawel.Solyga@gmail.com>
parents:
298
diff
changeset
|
8 |
<td><div class="short_name">{{ data_element.short_name }}</div></td> |
257
878f9ec9dd07
Add group templates that can be used by Sponsor, Organization, School, Club views. Right now only upcoming commit of Sponsor views is using it.
Pawel Solyga <Pawel.Solyga@gmail.com>
parents:
diff
changeset
|
9 |
</tr> |