# HG changeset patch # User Sverre Rabbelier # Date 1235952233 0 # Node ID 6a9bb0f8cde66845f3541f7446f35f1d1730e2fc # Parent 354e685d57fa038e10407a7990a703a688bc3289 Use the new readonly_safe_field where appropriate Patch by: Sverre Rabbelier diff -r 354e685d57fa -r 6a9bb0f8cde6 app/soc/templates/soc/club_app/public.html --- a/app/soc/templates/soc/club_app/public.html Mon Mar 02 00:02:59 2009 +0000 +++ b/app/soc/templates/soc/club_app/public.html Mon Mar 02 00:03:53 2009 +0000 @@ -24,7 +24,7 @@ {% readonly_field_as_twoline_table_row entity.fields.name.label entity.name %} {% readonly_field_as_twoline_table_row entity.fields.applicant.label entity.applicant.link_id %} {% readonly_url_field_as_twoline_table_row entity.fields.home_page.label entity.home_page %} - {% readonly_field_as_twoline_table_row entity.fields.description.label entity.description %} + {% readonly_safe_field_as_twoline_table_row entity.fields.description.label entity.description %} {% readonly_field_as_twoline_table_row entity.fields.why_applying.label entity.why_applying %} {% readonly_url_field_as_twoline_table_row entity.fields.pub_mailing_list.label entity.pub_mailing_list %} {% readonly_field_as_twoline_table_row entity.fields.irc_channel.label entity.irc_channel %} diff -r 354e685d57fa -r 6a9bb0f8cde6 app/soc/templates/soc/group/public.html --- a/app/soc/templates/soc/group/public.html Mon Mar 02 00:02:59 2009 +0000 +++ b/app/soc/templates/soc/group/public.html Mon Mar 02 00:03:53 2009 +0000 @@ -28,7 +28,7 @@ {% readonly_url_field_as_table_row entity.fields.email.label entity.email %} {% readonly_url_field_as_table_row entity.fields.pub_mailing_list.label entity.pub_mailing_list %} {% readonly_field_as_table_row entity.fields.irc_channel.label entity.irc_channel %} - {% readonly_field_as_table_row entity.fields.description.label entity.description %} + {% readonly_safe_field_as_table_row entity.fields.description.label entity.description %} {% endblock %}

diff -r 354e685d57fa -r 6a9bb0f8cde6 app/soc/templates/soc/group_app/review.html --- a/app/soc/templates/soc/group_app/review.html Mon Mar 02 00:02:59 2009 +0000 +++ b/app/soc/templates/soc/group_app/review.html Mon Mar 02 00:03:53 2009 +0000 @@ -25,7 +25,7 @@ {% readonly_field_as_twoline_table_row entity.fields.applicant.label entity.applicant.link_id %} {% readonly_url_field_as_twoline_table_row entity.fields.home_page.label entity.home_page %} {% readonly_url_field_as_twoline_table_row entity.fields.email.label entity.email %} - {% readonly_field_as_twoline_table_row entity.fields.description.label entity.description %} + {% readonly_safe_field_as_twoline_table_row entity.fields.description.label entity.description %} {% readonly_field_as_twoline_table_row entity.fields.why_applying.label entity.why_applying %} {% block group_details %}{% endblock %} {% readonly_field_as_table_row entity.fields.status.label entity.status %} diff -r 354e685d57fa -r 6a9bb0f8cde6 app/soc/templates/soc/org_app/public.html --- a/app/soc/templates/soc/org_app/public.html Mon Mar 02 00:02:59 2009 +0000 +++ b/app/soc/templates/soc/org_app/public.html Mon Mar 02 00:03:53 2009 +0000 @@ -24,7 +24,7 @@ {% readonly_field_as_twoline_table_row entity.fields.name.label entity.name %} {% readonly_field_as_twoline_table_row entity.fields.applicant.label entity.applicant.link_id %} {% readonly_url_field_as_twoline_table_row entity.fields.home_page.label entity.home_page %} - {% readonly_field_as_twoline_table_row entity.fields.description.label entity.description %} + {% readonly_safe_field_as_twoline_table_row entity.fields.description.label entity.description %} {% readonly_field_as_twoline_table_row entity.fields.why_applying.label entity.why_applying %} {% readonly_url_field_as_twoline_table_row entity.fields.pub_mailing_list.label entity.pub_mailing_list %} {% readonly_field_as_twoline_table_row entity.fields.irc_channel.label entity.irc_channel %} diff -r 354e685d57fa -r 6a9bb0f8cde6 app/soc/templates/soc/organization/public.html --- a/app/soc/templates/soc/organization/public.html Mon Mar 02 00:02:59 2009 +0000 +++ b/app/soc/templates/soc/organization/public.html Mon Mar 02 00:03:53 2009 +0000 @@ -17,6 +17,6 @@ {% block fields %} {{ block.super }} {% readonly_field_as_table_row entity.fields.dev_mailing_list.label entity.dev_mailing_list %} - {% readonly_field_as_table_row entity.fields.contrib_template.label entity.contrib_template %} + {% readonly_safe_field_as_table_row entity.fields.contrib_template.label entity.contrib_template %} {% readonly_url_field_as_table_row entity.fields.ideas.label entity.ideas %} {% endblock %}