Add colon at the of _readonly_field_as_table_row template tag label parameter. Replace hardcoded labels in User Public profile template with linkname_user.fields.<field_name>.label values.
--- a/app/soc/templates/soc/templatetags/_readonly_field_as_table_row.html Wed Oct 01 21:53:52 2008 +0000
+++ b/app/soc/templates/soc/templatetags/_readonly_field_as_table_row.html Wed Oct 01 21:58:31 2008 +0000
@@ -13,7 +13,7 @@
{% endcomment %}
<tr>
<td class="formfieldlabel">
- {{ field_label }}
+ {{ field_label }}:
</td>
<td class="formfieldvalue">
{{ field_value }}
--- a/app/soc/templates/soc/user/profile/public.html Wed Oct 01 21:53:52 2008 +0000
+++ b/app/soc/templates/soc/user/profile/public.html Wed Oct 01 21:58:31 2008 +0000
@@ -20,8 +20,8 @@
{% block body %}
<p>
<table>
- {% readonly_field_as_table_row "Nick name:" linkname_user.nick_name %}
- {% readonly_field_as_table_row "Link name:" linkname_user.link_name %}
+ {% readonly_field_as_table_row linkname_user.fields.nick_name.label linkname_user.nick_name %}
+ {% readonly_field_as_table_row linkname_user.fields.link_name.label linkname_user.link_name %}
</table>
</p>
{% endblock %}