]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/browse/way.html.erb
Improve pagination in changeset details
[rails.git] / app / views / browse / way.html.erb
index f6e8b7f0182d1121f8d48f5c200723f9d1e6cb30..5b33bd49e829baef8715959001bc804395d32ebb 100644 (file)
@@ -2,21 +2,15 @@
 @name = printable_name @way
 @title = t('browse.way.way') + ' | ' + @name
 %>
+<h2><%= t'browse.way.way_title', :way_name => @name %>
+    <a class="geolink" href="<%= root_path %>"><span class="icon close"></span></a>
+</h2>
 
-<% content_for :head do %>
-  <%= stylesheet_link_tag 'browse' %>
-  <%= javascript_include_tag 'index' %>
-<% 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>