.icon.close {
position: absolute;
right: $lineheight;
+ cursor: pointer;
}
.footer {
<div class='browse-section header'>
- <h2><%= t 'browse.changeset.changeset', :id => @changeset.id %></h2>
+ <h2><%= t 'browse.changeset.changeset', :id => @changeset.id %>
+ <span class="icon close"></span>
+ </h2>
<p>
<%
created_at = distance_of_time_in_words_to_now(@changeset.created_at)
%>
<div class='browse-section header'>
- <h2><%= t'browse.node.node_title', :node_name => @name %></h2>
+ <h2><%= t'browse.node.node_title', :node_name => @name %>
+ <span class="icon close"></span>
+ </h2>
</div>
<%= render :partial => "node_details", :object => @node %>
%>
<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) %></h2>
+ <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>
<% @node.old_nodes.reverse.each do |node| %>
<div class='browse-section header'>
- <h2><%= t "browse.note.#{@note.status}_title", :note_name => @note.id %></h2>
+ <h2><%= t "browse.note.#{@note.status}_title", :note_name => @note.id %>
+ <span class="icon close"></span>
+ </h2>
<span>
<%= t "browse.note.opened" %>:
<abbr><%= note_event(@note.created_at, @note.author) %></abbr> by
%>
<div class="browse-section header">
- <h2><%= t'browse.relation.relation_title', :relation_name => @name %></h2>
+ <h2><%= t'browse.relation.relation_title', :relation_name => @name %>
+ <span class="icon close"></span>
+ </h2>
</div>
<%= render :partial => "relation_details", :object => @relation %>
%>
<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) %></h2>
+ <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>
<% @relation.old_relations.reverse.each do |relation| %>
%>
<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) %></h2>
+ <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>
<% @way.old_ways.reverse.each do |way| %>