Add close icons

This commit is contained in:
Aaron Lidman 2013-11-05 15:00:45 -08:00
parent bbfc65d1e1
commit ba9456066f
8 changed files with 22 additions and 7 deletions

View file

@ -613,6 +613,7 @@ nav.secondary {
.icon.close {
position: absolute;
right: $lineheight;
cursor: pointer;
}
.footer {

View file

@ -1,5 +1,7 @@
<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)

View file

@ -4,7 +4,9 @@
%>
<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 %>

View file

@ -4,7 +4,9 @@
%>
<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| %>

View file

@ -1,5 +1,7 @@
<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

View file

@ -4,7 +4,9 @@
%>
<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 %>

View file

@ -4,7 +4,9 @@
%>
<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| %>

View file

@ -4,7 +4,9 @@
%>
<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| %>