</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" %>
+ Download
+ <%= link_to "Changeset XML", :controller => "changeset", :action => "read" %>
+ or
+ <%= link_to "osmChange XML", :controller => "changeset", :action => "download" %>
</td>
- <% # render :partial => "map", :object => @node %>
+ <% if @changeset.has_valid_bbox? %>
+ <%= render :partial => "map", :object => @changeset %>
+ <% end %>
</tr>
</table>