From 5c783cd0eece7c5d4607b89f1cff313d8d867a04 Mon Sep 17 00:00:00 2001 From: Frederik Ramm Date: Tue, 21 Apr 2009 23:55:02 +0000 Subject: [PATCH] there is not HTML attribute named "padding". either use "cellpadding" (this patch), or use the CSS attribute (i.e. style="padding: 0px"). --- app/views/browse/_changeset_details.rhtml | 6 +++--- app/views/browse/_node_details.rhtml | 2 +- app/views/browse/_relation_details.rhtml | 4 ++-- app/views/browse/_tag_details.rhtml | 2 +- app/views/browse/_way_details.rhtml | 4 ++-- 5 files changed, 9 insertions(+), 9 deletions(-) diff --git a/app/views/browse/_changeset_details.rhtml b/app/views/browse/_changeset_details.rhtml index fdcc96c19..13b64d340 100644 --- a/app/views/browse/_changeset_details.rhtml +++ b/app/views/browse/_changeset_details.rhtml @@ -51,7 +51,7 @@ Has the following <%= @node_pages.item_count %> nodes: - +
<% @nodes.each do |node| %> <% end %> @@ -65,7 +65,7 @@
<%= link_to "Node #{node.id.to_s}, version #{node.version.to_s}", :action => "node", :id => node.id.to_s %>
Has the following <%= @way_pages.item_count %> ways: - +
<% @ways.each do |way| %> <% end %> @@ -82,7 +82,7 @@
<%= link_to "Way #{way.id.to_s}, version #{way.version.to_s}", :action => "way", :id => way.id.to_s %>
Has the following <%= @relation_pages.item_count %> relations: - +
<% @relations.each do |relation| %> <% end %> diff --git a/app/views/browse/_node_details.rhtml b/app/views/browse/_node_details.rhtml index e3d11e0fe..1aa5bf69c 100644 --- a/app/views/browse/_node_details.rhtml +++ b/app/views/browse/_node_details.rhtml @@ -6,7 +6,7 @@
<%= link_to "Relation #{relation.id.to_s}, version #{relation.version.to_s}", :action => "relation", :id => relation.id.to_s %>
Part of: - +
<% node_details.ways.each do |way| %> <% end %> diff --git a/app/views/browse/_relation_details.rhtml b/app/views/browse/_relation_details.rhtml index b8874d9ce..e2249e92f 100644 --- a/app/views/browse/_relation_details.rhtml +++ b/app/views/browse/_relation_details.rhtml @@ -6,7 +6,7 @@ @@ -17,7 +17,7 @@ diff --git a/app/views/browse/_tag_details.rhtml b/app/views/browse/_tag_details.rhtml index dab36266b..6f82689c2 100644 --- a/app/views/browse/_tag_details.rhtml +++ b/app/views/browse/_tag_details.rhtml @@ -2,7 +2,7 @@ diff --git a/app/views/browse/_way_details.rhtml b/app/views/browse/_way_details.rhtml index bc00100d8..9dc35ad53 100644 --- a/app/views/browse/_way_details.rhtml +++ b/app/views/browse/_way_details.rhtml @@ -5,7 +5,7 @@
<%= link_to "Way " + way.id.to_s, :action => "way", :id => way.id.to_s %>
Members: - +
<%= render :partial => "relation_member", :collection => relation_details.relation_members %>
Part of: - +
<%= render :partial => "containing_relation", :collection => relation_details.containing_relation_members %>
Tags: - +
<%= render :partial => "tag", :collection => tag_details.tags_as_hash %>
Nodes: - +
<% way_details.way_nodes.each do |wn| %> <% end %> @@ -17,7 +17,7 @@ -- 2.39.5
<%= link_to "Node " + wn.node_id.to_s, :action => "node", :id => wn.node_id.to_s %>
Part of: - +
<%= render :partial => "containing_relation", :collection => way_details.containing_relation_members %>