}
.icon.close {
- position: absolute;
- right: $lineheight;
+ float: right;
cursor: pointer;
}
<h2>
- <%= t 'browse.changeset.changeset', :id => @changeset.id %>
<a class="geolink" href="<%= root_path %>"><span class="icon close"></span></a>
+ <%= t 'browse.changeset.changeset', :id => @changeset.id %>
</h2>
<div class="browse-section">
@title = t('browse.node.node') + ' | ' + @name
%>
-<h2><%= t'browse.node.node_title', :node_name => @name %>
+<h2>
<a class="geolink" href="<%= root_path %>"><span class="icon close"></span></a>
+ <%= t'browse.node.node_title', :node_name => @name %>
</h2>
<%= render :partial => "node_details", :object => @node %>
@title = t('browse.node_history.node_history') + ' | ' + @name
%>
-<h2><%= raw t'browse.node_history.node_history_title', :node_name => link_to(h(@name), :action => "node", :id => @node.id) %>
+<h2>
<a class="geolink" href="<%= root_path %>"><span class="icon close"></span></a>
+ <%= raw t'browse.node_history.node_history_title', :node_name => link_to(h(@name), :action => "node", :id => @node.id) %>
</h2>
<% @node.old_nodes.reverse.each do |node| %>
-<h2><%= t "browse.note.#{@note.status}_title", :note_name => @note.id %>
+<h2>
<a class="geolink" href="<%= root_path %>"><span class="icon close"></span></a>
+ <%= t "browse.note.#{@note.status}_title", :note_name => @note.id %>
</h2>
<div class="browse-section">
<span>
@title = t('browse.relation.relation') + ' | ' + @name
%>
-<h2><%= t'browse.relation.relation_title', :relation_name => @name %>
+<h2>
<a class="geolink" href="<%= root_path %>"><span class="icon close"></span></a>
+ <%= t'browse.relation.relation_title', :relation_name => @name %>
</h2>
<%= render :partial => "relation_details", :object => @relation %>
@title = t('browse.relation_history.relation_history') + ' | ' + @name
%>
-<h2><%= raw t'browse.relation_history.relation_history_title', :relation_name => link_to(h(@name), :action => "relation", :id => @relation.id) %>
+<h2>
<a class="geolink" href="<%= root_path %>"><span class="icon close"></span></a>
+ <%= raw t'browse.relation_history.relation_history_title', :relation_name => link_to(h(@name), :action => "relation", :id => @relation.id) %>
</h2>
<% @relation.old_relations.reverse.each do |relation| %>
@name = printable_name @way
@title = t('browse.way.way') + ' | ' + @name
%>
-<h2><%= t'browse.way.way_title', :way_name => @name %>
+<h2>
<a class="geolink" href="<%= root_path %>"><span class="icon close"></span></a>
+ <%= t'browse.way.way_title', :way_name => @name %>
</h2>
<%= render :partial => "way_details", :object => @way %>
@title = t('browse.way_history.way_history') + ' | ' + @name
%>
-<h2><%= raw t'browse.way_history.way_history_title', :way_name => link_to(h(@name), :action => "way", :id => @way.id) %>
+<h2>
<a class="geolink" href="<%= root_path %>"><span class="icon close"></span></a>
+ <%= raw t'browse.way_history.way_history_title', :way_name => link_to(h(@name), :action => "way", :id => @way.id) %>
</h2>
<% @way.old_ways.reverse.each do |way| %>
end
%>
-<h2><%= @heading %>
+<h2>
<a class="geolink" href="<%= root_path %>"><span class="icon close"></span></a>
+ <%= @heading %>
</h2>
<div class="changesets">
<h2>
- <%= t('site.sidebar.search_results') %>
<a class="geolink" href="<%= root_path %>"><span class="icon close"></span></a>
+ <%= t('site.sidebar.search_results') %>
</h2>
<% @sources.each do |source| %>
<h4 class="inner12"><%= raw(t "geocoder.search.title.#{source}") %></h4>
-<h2><%= t 'export.start_rjs.export' %>
+<h2>
<a class="geolink" href="<%= root_path %>"><span class="icon close"></span></a>
+ <%= t 'export.start_rjs.export' %>
</h2>
<%= form_tag :controller => "export", :action => "finish" do %>