Make use of readonly_url_field where appropriate
authorSverre Rabbelier <srabbelier@gmail.com>
Mon, 02 Mar 2009 00:02:11 +0000
changeset 1587 7a61eff82b9d
parent 1586 8a6caee3c9d6
child 1588 354e685d57fa
Make use of readonly_url_field where appropriate Patch by: Sverre Rabbelier
app/soc/templates/soc/club_app/public.html
app/soc/templates/soc/group/public.html
app/soc/templates/soc/group_app/review.html
app/soc/templates/soc/org_app/public.html
app/soc/templates/soc/organization/public.html
app/soc/templates/soc/presence/public.html
app/soc/templates/soc/program/public.html
--- a/app/soc/templates/soc/club_app/public.html	Mon Mar 02 00:01:05 2009 +0000
+++ b/app/soc/templates/soc/club_app/public.html	Mon Mar 02 00:02:11 2009 +0000
@@ -23,10 +23,10 @@
  <table>
   {% 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_field_as_twoline_table_row entity.fields.home_page.label entity.home_page %}
+  {% 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_field_as_twoline_table_row entity.fields.why_applying.label entity.why_applying %}
-  {% readonly_field_as_twoline_table_row entity.fields.pub_mailing_list.label entity.pub_mailing_list %}
+  {% 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 %}
   {% if entity.backup_admin %}
   {% readonly_field_as_twoline_table_row entity.fields.backup_admin.label entity.backup_admin.link_id %}
--- a/app/soc/templates/soc/group/public.html	Mon Mar 02 00:01:05 2009 +0000
+++ b/app/soc/templates/soc/group/public.html	Mon Mar 02 00:02:11 2009 +0000
@@ -24,9 +24,9 @@
   {% block fields %}
   {% readonly_field_as_table_row entity.fields.name.label entity.name %}
   {% readonly_field_as_table_row entity.fields.founder.label entity.founder.link_id %}
-  {% readonly_field_as_table_row entity.fields.home_page.label entity.home_page %}
-  {% readonly_field_as_table_row entity.fields.email.label entity.email %}
-  {% readonly_field_as_table_row entity.fields.pub_mailing_list.label entity.pub_mailing_list %}
+  {% readonly_url_field_as_table_row entity.fields.home_page.label entity.home_page %}
+  {% 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 %}
   {% endblock %}
--- a/app/soc/templates/soc/group_app/review.html	Mon Mar 02 00:01:05 2009 +0000
+++ b/app/soc/templates/soc/group_app/review.html	Mon Mar 02 00:02:11 2009 +0000
@@ -23,8 +23,8 @@
  <table>
   {% 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_field_as_twoline_table_row entity.fields.home_page.label entity.home_page %}
-  {% readonly_field_as_twoline_table_row entity.fields.email.label entity.email %}
+  {% 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_field_as_twoline_table_row entity.fields.why_applying.label entity.why_applying %}
   {% block group_details %}{% endblock %}
--- a/app/soc/templates/soc/org_app/public.html	Mon Mar 02 00:01:05 2009 +0000
+++ b/app/soc/templates/soc/org_app/public.html	Mon Mar 02 00:02:11 2009 +0000
@@ -23,10 +23,10 @@
  <table>
   {% 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_field_as_twoline_table_row entity.fields.home_page.label entity.home_page %}
+  {% 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_field_as_twoline_table_row entity.fields.why_applying.label entity.why_applying %}
-  {% readonly_field_as_twoline_table_row entity.fields.pub_mailing_list.label entity.pub_mailing_list %}
+  {% 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 %}
   {% if entity.backup_admin %}
   {% readonly_field_as_twoline_table_row entity.fields.backup_admin.label entity.backup_admin.link_id %}
--- a/app/soc/templates/soc/organization/public.html	Mon Mar 02 00:01:05 2009 +0000
+++ b/app/soc/templates/soc/organization/public.html	Mon Mar 02 00:02:11 2009 +0000
@@ -18,5 +18,5 @@
   {{ 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_field_as_table_row entity.fields.ideas.label entity.ideas %}
+  {% readonly_url_field_as_table_row entity.fields.ideas.label entity.ideas %}
 {% endblock %}
--- a/app/soc/templates/soc/presence/public.html	Mon Mar 02 00:01:05 2009 +0000
+++ b/app/soc/templates/soc/presence/public.html	Mon Mar 02 00:02:11 2009 +0000
@@ -25,7 +25,7 @@
   {% if entity.home %}
   {% readonly_field_as_table_row entity.fields.home.label entity.home.key.name %}
   {% endif %}
-  {% readonly_field_as_table_row entity.fields.feed_url.label entity.feed_url %}
+  {% readonly_url_field_as_table_row entity.fields.feed_url.label entity.feed_url %}
   {% if entity.tos %}
     {% readonly_field_as_table_row entity.fields.tos.label entity.tos.key.name %}
   {% endif %}
--- a/app/soc/templates/soc/program/public.html	Mon Mar 02 00:01:05 2009 +0000
+++ b/app/soc/templates/soc/program/public.html	Mon Mar 02 00:02:11 2009 +0000
@@ -25,6 +25,7 @@
   {% readonly_field_as_table_row entity.fields.scope_path.label entity.scope_path %}
   {% readonly_field_as_table_row entity.fields.name.label entity.name %}
   {% readonly_field_as_table_row entity.fields.short_name.label entity.short_name %}
+  {% readonly_url_field_as_table_row entity.fields.feed_url.label entity.feed_url %}
   {% readonly_field_as_table_row entity.fields.group_label.label entity.group_label %}
   <!-- TODO(pawel.solyga) make this generic -->
  </table>