From: Aaron Lidman Date: Wed, 6 Nov 2013 03:32:33 +0000 (-0800) Subject: Remove all the headers X-Git-Tag: live~5183^2~186 X-Git-Url: https://git.openstreetmap.org./rails.git/commitdiff_plain/30ab1e91da6710159285f354c24529bdeeb7fb64?ds=sidebyside Remove all the headers --- diff --git a/app/assets/stylesheets/common.css.scss b/app/assets/stylesheets/common.css.scss index 68eec4589..5b6ddc5b5 100644 --- a/app/assets/stylesheets/common.css.scss +++ b/app/assets/stylesheets/common.css.scss @@ -1103,20 +1103,6 @@ a.donate { } } -/* Rules for the changeset details */ - -#sidebar_content { - .browse-section.header { - padding: 20px; - border-bottom: 1px solid #ccc; - - h2 { - padding: 0 0 5px 0; - border-bottom: none; - } - } -} - /* Rules for export information which appears in the popout sidebar */ .export_bounds { diff --git a/app/views/browse/node.html.erb b/app/views/browse/node.html.erb index b1f878209..a1da8c83f 100644 --- a/app/views/browse/node.html.erb +++ b/app/views/browse/node.html.erb @@ -3,11 +3,9 @@ @title = t('browse.node.node') + ' | ' + @name %> -
-

<%= t'browse.node.node_title', :node_name => @name %> - -

-
+

<%= t'browse.node.node_title', :node_name => @name %> + +

<%= render :partial => "node_details", :object => @node %> diff --git a/app/views/browse/node_history.html.erb b/app/views/browse/node_history.html.erb index e24018ef9..0ae5a36e8 100644 --- a/app/views/browse/node_history.html.erb +++ b/app/views/browse/node_history.html.erb @@ -3,11 +3,9 @@ @title = t('browse.node_history.node_history') + ' | ' + @name %> -
-

<%= raw t'browse.node_history.node_history_title', :node_name => link_to(h(@name), :action => "node", :id => @node.id) %> - -

-
+

<%= raw t'browse.node_history.node_history_title', :node_name => link_to(h(@name), :action => "node", :id => @node.id) %> + +

<% @node.old_nodes.reverse.each do |node| %> <%= render :partial => "node_details", :object => node %> diff --git a/app/views/browse/note.html.erb b/app/views/browse/note.html.erb index d15b37d1c..c91005b60 100644 --- a/app/views/browse/note.html.erb +++ b/app/views/browse/note.html.erb @@ -1,7 +1,7 @@ -
-

<%= t "browse.note.#{@note.status}_title", :note_name => @note.id %> - -

+

<%= t "browse.note.#{@note.status}_title", :note_name => @note.id %> + +

+
<%= t "browse.note.opened" %>: <%= note_event(@note.created_at, @note.author) %> by diff --git a/app/views/browse/relation.html.erb b/app/views/browse/relation.html.erb index 253d1e2a0..847298199 100644 --- a/app/views/browse/relation.html.erb +++ b/app/views/browse/relation.html.erb @@ -3,11 +3,9 @@ @title = t('browse.relation.relation') + ' | ' + @name %> -
-

<%= t'browse.relation.relation_title', :relation_name => @name %> - -

-
+

<%= t'browse.relation.relation_title', :relation_name => @name %> + +

<%= render :partial => "relation_details", :object => @relation %> diff --git a/app/views/browse/relation_history.html.erb b/app/views/browse/relation_history.html.erb index 3e8195151..32eb2f400 100644 --- a/app/views/browse/relation_history.html.erb +++ b/app/views/browse/relation_history.html.erb @@ -3,11 +3,9 @@ @title = t('browse.relation_history.relation_history') + ' | ' + @name %> -
-

<%= raw t'browse.relation_history.relation_history_title', :relation_name => link_to(h(@name), :action => "relation", :id => @relation.id) %> - -

-
+

<%= raw t'browse.relation_history.relation_history_title', :relation_name => link_to(h(@name), :action => "relation", :id => @relation.id) %> + +

<% @relation.old_relations.reverse.each do |relation| %> <%= render :partial => "relation_details", :object => relation %> diff --git a/app/views/browse/way.html.erb b/app/views/browse/way.html.erb index a148ff728..3d6349151 100644 --- a/app/views/browse/way.html.erb +++ b/app/views/browse/way.html.erb @@ -2,11 +2,9 @@ @name = printable_name @way @title = t('browse.way.way') + ' | ' + @name %> -
-

<%= t'browse.way.way_title', :way_name => @name %> - -

-
+

<%= t'browse.way.way_title', :way_name => @name %> + +

<%= render :partial => "way_details", :object => @way %> diff --git a/app/views/browse/way_history.html.erb b/app/views/browse/way_history.html.erb index 79c1a99a4..34cfb20ad 100644 --- a/app/views/browse/way_history.html.erb +++ b/app/views/browse/way_history.html.erb @@ -3,11 +3,9 @@ @title = t('browse.way_history.way_history') + ' | ' + @name %> -
-

<%= raw t'browse.way_history.way_history_title', :way_name => link_to(h(@name), :action => "way", :id => @way.id) %> - -

-
+

<%= raw t'browse.way_history.way_history_title', :way_name => link_to(h(@name), :action => "way", :id => @way.id) %> + +

<% @way.old_ways.reverse.each do |way| %> <%= render :partial => "way_details", :object => way %> diff --git a/app/views/changeset/history.html.erb b/app/views/changeset/history.html.erb index 96f39e282..03af11ec1 100644 --- a/app/views/changeset/history.html.erb +++ b/app/views/changeset/history.html.erb @@ -20,11 +20,9 @@ end %> -
-

<%= @heading %> - -

-
+

<%= @heading %> + +

<%= image_tag "searching.gif", :class => "loader" %> diff --git a/app/views/site/export.html.erb b/app/views/site/export.html.erb index a1ccdbf88..ed94aff02 100644 --- a/app/views/site/export.html.erb +++ b/app/views/site/export.html.erb @@ -1,8 +1,6 @@ -
-

<%= t 'export.start_rjs.export' %> - -

-
+

<%= t 'export.start_rjs.export' %> + +

<%= form_tag :controller => "export", :action => "finish" do %> <%= hidden_field_tag 'format', 'osm' %>