Remove all the headers

This commit is contained in:
Aaron Lidman 2013-11-05 19:32:33 -08:00
parent 40d94818b2
commit 30ab1e91da
10 changed files with 28 additions and 58 deletions

View file

@ -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 {

View file

@ -3,11 +3,9 @@
@title = t('browse.node.node') + ' | ' + @name
%>
<div class='browse-section header'>
<h2><%= t'browse.node.node_title', :node_name => @name %>
<span class="icon close"></span>
</h2>
</div>
<h2><%= t'browse.node.node_title', :node_name => @name %>
<span class="icon close"></span>
</h2>
<%= render :partial => "node_details", :object => @node %>

View file

@ -3,11 +3,9 @@
@title = t('browse.node_history.node_history') + ' | ' + @name
%>
<div class='browse-section header'>
<h2><%= raw t'browse.node_history.node_history_title', :node_name => link_to(h(@name), :action => "node", :id => @node.id) %>
<span class="icon close"></span>
</h2>
</div>
<h2><%= raw t'browse.node_history.node_history_title', :node_name => link_to(h(@name), :action => "node", :id => @node.id) %>
<span class="icon close"></span>
</h2>
<% @node.old_nodes.reverse.each do |node| %>
<%= render :partial => "node_details", :object => node %>

View file

@ -1,7 +1,7 @@
<div class='browse-section header'>
<h2><%= t "browse.note.#{@note.status}_title", :note_name => @note.id %>
<span class="icon close"></span>
</h2>
<h2><%= t "browse.note.#{@note.status}_title", :note_name => @note.id %>
<span class="icon close"></span>
</h2>
<div class="browse-section">
<span>
<%= t "browse.note.opened" %>:
<abbr><%= note_event(@note.created_at, @note.author) %></abbr> by

View file

@ -3,11 +3,9 @@
@title = t('browse.relation.relation') + ' | ' + @name
%>
<div class="browse-section header">
<h2><%= t'browse.relation.relation_title', :relation_name => @name %>
<span class="icon close"></span>
</h2>
</div>
<h2><%= t'browse.relation.relation_title', :relation_name => @name %>
<span class="icon close"></span>
</h2>
<%= render :partial => "relation_details", :object => @relation %>

View file

@ -3,11 +3,9 @@
@title = t('browse.relation_history.relation_history') + ' | ' + @name
%>
<div class='browse-section header'>
<h2><%= raw t'browse.relation_history.relation_history_title', :relation_name => link_to(h(@name), :action => "relation", :id => @relation.id) %>
<span class="icon close"></span>
</h2>
</div>
<h2><%= raw t'browse.relation_history.relation_history_title', :relation_name => link_to(h(@name), :action => "relation", :id => @relation.id) %>
<span class="icon close"></span>
</h2>
<% @relation.old_relations.reverse.each do |relation| %>
<%= render :partial => "relation_details", :object => relation %>

View file

@ -2,11 +2,9 @@
@name = printable_name @way
@title = t('browse.way.way') + ' | ' + @name
%>
<div class='browse-section header'>
<h2><%= t'browse.way.way_title', :way_name => @name %>
<span class="icon close"></span>
</h2>
</div>
<h2><%= t'browse.way.way_title', :way_name => @name %>
<span class="icon close"></span>
</h2>
<%= render :partial => "way_details", :object => @way %>

View file

@ -3,11 +3,9 @@
@title = t('browse.way_history.way_history') + ' | ' + @name
%>
<div class='browse-section header'>
<h2><%= raw t'browse.way_history.way_history_title', :way_name => link_to(h(@name), :action => "way", :id => @way.id) %>
<span class="icon close"></span>
</h2>
</div>
<h2><%= raw t'browse.way_history.way_history_title', :way_name => link_to(h(@name), :action => "way", :id => @way.id) %>
<span class="icon close"></span>
</h2>
<% @way.old_ways.reverse.each do |way| %>
<%= render :partial => "way_details", :object => way %>

View file

@ -20,11 +20,9 @@
end
%>
<div class='browse_details header'>
<h2><%= @heading %>
<span class="icon close"></span>
</h2>
</div>
<h2><%= @heading %>
<span class="icon close"></span>
</h2>
<div class="changesets">
<%= image_tag "searching.gif", :class => "loader" %>

View file

@ -1,8 +1,6 @@
<div class='browse-section header'>
<h2><%= t 'export.start_rjs.export' %>
<span class="icon close"></span>
</h2>
</div>
<h2><%= t 'export.start_rjs.export' %>
<span class="icon close"></span>
</h2>
<%= form_tag :controller => "export", :action => "finish" do %>
<%= hidden_field_tag 'format', 'osm' %>