Fix broken Roles public templates. By mistake we used entity.user.public_name instead of entity.user.name.
Patch by: Pawel Solyga
Reviewed by: to-be-reviewed
--- a/app/soc/templates/soc/club_admin/public.html Mon Feb 02 10:10:39 2009 +0000
+++ b/app/soc/templates/soc/club_admin/public.html Mon Feb 02 10:15:07 2009 +0000
@@ -22,7 +22,7 @@
<p>
<table>
{% readonly_field_as_table_row entity.fields.link_id.label entity.link_id %}
- {% readonly_field_as_table_row entity.user.fields.public_name.label entity.user.public_name %}
+ {% readonly_field_as_table_row entity.user.fields.name.label entity.user.name %}
{% readonly_field_as_table_row entity.fields.im_handle.label entity.im_handle %}
{% readonly_field_as_table_row entity.fields.res_country.label entity.res_country %}
</table>
--- a/app/soc/templates/soc/club_member/public.html Mon Feb 02 10:10:39 2009 +0000
+++ b/app/soc/templates/soc/club_member/public.html Mon Feb 02 10:15:07 2009 +0000
@@ -22,7 +22,7 @@
<p>
<table>
{% readonly_field_as_table_row entity.fields.link_id.label entity.link_id %}
- {% readonly_field_as_table_row entity.user.fields.public_name.label entity.user.public_name %}
+ {% readonly_field_as_table_row entity.user.fields.name.label entity.user.name %}
{% readonly_field_as_table_row entity.fields.im_handle.label entity.im_handle %}
{% readonly_field_as_table_row entity.fields.res_country.label entity.res_country %}
</table>
--- a/app/soc/templates/soc/host/public.html Mon Feb 02 10:10:39 2009 +0000
+++ b/app/soc/templates/soc/host/public.html Mon Feb 02 10:15:07 2009 +0000
@@ -23,7 +23,7 @@
<table>
{% readonly_field_as_table_row entity.fields.given_name.label entity.given_name %}
{% readonly_field_as_table_row entity.fields.surname.label entity.surname %}
- {% readonly_field_as_table_row entity.user.fields.public_name.label entity.user.public_name %}
+ {% readonly_field_as_table_row entity.user.fields.name.label entity.user.name %}
<!-- TODO(pawel.solyga) make this generic -->
</table>
</p>
--- a/app/soc/templates/soc/mentor/public.html Mon Feb 02 10:10:39 2009 +0000
+++ b/app/soc/templates/soc/mentor/public.html Mon Feb 02 10:15:07 2009 +0000
@@ -22,7 +22,7 @@
<p>
<table>
{% readonly_field_as_table_row entity.fields.link_id.label entity.link_id %}
- {% readonly_field_as_table_row entity.user.fields.public_name.label entity.user.public_name %}
+ {% readonly_field_as_table_row entity.user.fields.name.label entity.user.name %}
{% readonly_field_as_table_row entity.fields.im_handle.label entity.im_handle %}
{% readonly_field_as_table_row entity.fields.res_country.label entity.res_country %}
</table>
--- a/app/soc/templates/soc/org_admin/public.html Mon Feb 02 10:10:39 2009 +0000
+++ b/app/soc/templates/soc/org_admin/public.html Mon Feb 02 10:15:07 2009 +0000
@@ -22,7 +22,7 @@
<p>
<table>
{% readonly_field_as_table_row entity.fields.link_id.label entity.link_id %}
- {% readonly_field_as_table_row entity.user.fields.public_name.label entity.user.public_name %}
+ {% readonly_field_as_table_row entity.user.fields.name.label entity.user.name %}
{% readonly_field_as_table_row entity.fields.im_handle.label entity.im_handle %}
{% readonly_field_as_table_row entity.fields.res_country.label entity.res_country %}
</table>