]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/browse/way.html.erb
Browse page style tweaks
[rails.git] / app / views / browse / way.html.erb
index e5493d3f982b23d0eb2907006169ff7fb31e87e5..4dacaf929fda4e68ba65ddf912ab584b925aa380 100644 (file)
@@ -2,20 +2,15 @@
 @name = printable_name @way
 @title = t('browse.way.way') + ' | ' + @name
 %>
+<h2><%= t'browse.way.way_title', :way_name => @name %>
+    <span class="icon close"></span>
+</h2>
 
-<% content_for :head do %>
-  <%= stylesheet_link_tag 'browse' %>
-<% end %>
+<%= render :partial => "way_details", :object => @way %>
 
-<% content_for :sidebar do %>
-  <h2><%= t'browse.way.way_title', :way_name => @name %></h2>
-
-  <%= render :partial => "way_details", :object => @way %>
-
-  <ul class='secondary-actions clearfix'>
-    <li><%= link_to(t('browse.way.download_xml'), :controller => "way", :action => "read") %></li>
-    <li><%= link_to(t('browse.way.view_history'), :action => "way_history") %></li>
-  </ul>
-<% end %>
-
-<%= render :template => 'layouts/map' %>
+<div class='browse-section secondary-actions clearfix'> 
+  <h4><%= link_to(t('browse.way.download_xml'), :controller => "way", :action => "read") %>
+    &middot;
+    <%= link_to(t('browse.way.view_history'), :action => "way_history") %>
+    </h4>
+</div>