]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/browse/changeset.rhtml
Merged 14009:14059 from trunk.
[rails.git] / app / views / browse / changeset.rhtml
index 4ecdb8e9930ed49f15adca2ea69b9b59e9121ee4..57e39db99d4ba8df1849f6e7c9e4cb97d1bbc882 100644 (file)
@@ -9,30 +9,10 @@
   </tr>
   <tr valign="top">
     <td>
-      <tr>
-        <th>Created at:</th>
-        <td><%= h(@changeset.created_at) %></td>
-      </tr>
-      
-      <% if @changeset.user.data_public? %>
-        <tr>
-          <th>Belongs to:</th>
-          <td><%= link_to h(@changeset.user.display_name), :controller => "user", :action => "view", :display_name => @changeset.user.display_name %></td>
-        </tr>
-      <% end %>
-      <% unless @changeset.tags_as_hash.empty? %>
-        <tr valign="top">
-          <th>Tags:</th>
-          <td>
-            <table padding="0">
-              <%= render :partial => "tag", :collection => @changeset.tags_as_hash %>
-            </table>
-          </td>
-        </tr>      
-      <% end %>
+    <%= render :partial => "changeset_details", :object => @changeset %>
     <hr />
-      <%= link_to "Download XML", :controller => "changeset", :action => "read" %>
+      <%= link_to "Download Changeset XML", :controller => "changeset", :action => "read" %> | 
+      <%= link_to "Download osmChange XML", :controller => "changeset", :action => "download" %>
     </td>
-    <% # render :partial => "map", :object => @node %>
   </tr>
 </table>