-<%= render :partial => 'navigation', :locals => { :type => "way" } %>
-<h2>Way Browser: <%= h(@name) %></h2>
-<%= render :partial => 'common', :locals => { :obj => @way, :type => "way" } %>
-<%= render :partial => 'tag_table', :locals => { :tags => @way.tags } %>
-
-<% if @way.nodes.length != 0 %>
- <br style="clear:both" />
- <div style="float:right; width: 250px;">
- <h2>Parts:</h2>
- <ul>
- <% @way.nodes.each do |node| %>
- <li> <%= link_to "Node " + node.id.to_s, :action => "node", :id => node.id.to_s %> </li>
- <% end %>
- </ul>
- </div>
-<% end %>
+<%
+@name = printable_name @way
+@title = t('browse.way.way') + ' | ' + @name
+%>
+<table width="100%">
+ <tr>
+ <td>
+ <h2><%= t'browse.way.way_title', :way_name => h(@name) %></h2>
+ </td>
+ <td>
+ <%= render :partial => "navigation" %>
+ </td>
+ </tr>
+ <tr valign="top">
+ <td>
+ <%= render :partial => "way_details", :object => @way %>
+ <hr />
+ <%= t'browse.way.download', :download_xml_link => link_to(t('browse.way.download_xml'), :controller => "way", :action => "read"),
+ :view_history_link => link_to(t('browse.way.view_history'), :action => "way_history") %>
+ </td>
+ <%= render :partial => "map", :object => @way %>
+ </tr>
+</table>