]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/browse/relation_history.html.erb
Merge branch 'openstreetbugs' of git://git.openstreetmap.org/rails into openstreetbugs2
[rails.git] / app / views / browse / relation_history.html.erb
index a62ac2ef73e674d189e8dc76787cba43f8ba63fd..61b4d04fb031d42eb4ba014ae496c888f8ce8dfa 100644 (file)
@@ -3,17 +3,10 @@
 @title = t('browse.relation_history.relation_history') + ' | ' + @name
 %>
 <h2><%= t'browse.relation_history.relation_history_title', :relation_name => link_to(h(@name), :action => "relation", :id => @relation.id) %></h2>
-
-<table width="100%">
-  <tr valign="top">
-    <td>
-      <% @relation.old_relations.reverse.each do |relation| %>
-        <%= render :partial => "relation_details", :object => relation %>
-        <hr />
-      <% end %>
-      <%= t'browse.relation_history.download', :download_xml_link => link_to(t('browse.relation_history.download_xml'), :controller => "old_relation", :action => "history"), 
-                                               :view_details_link => link_to(t('browse.relation_history.view_details'), :action => "relation") %>
-    </td>
-    <%= render :partial => "map", :object => @relation %>
-  </tr>
-</table>
+<%= render :partial => "map", :object => @relation %>
+<% @relation.old_relations.reverse.each do |relation| %>
+  <%= render :partial => "relation_details", :object => relation %>
+  <hr />
+<% end %>
+<%= t'browse.relation_history.download', :download_xml_link => link_to(t('browse.relation_history.download_xml'), :controller => "old_relation", :action => "history"), 
+                                         :view_details_link => link_to(t('browse.relation_history.view_details'), :action => "relation") %>