X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/1f8a68371ad34594cce4aadf5fef229588fd4ddc..a3a792e13772282c006556081c65e12e37ad273b:/app/views/browse/changeset.rhtml?ds=sidebyside
diff --git a/app/views/browse/changeset.rhtml b/app/views/browse/changeset.rhtml
index 57e39db99..95fc1b1ac 100644
--- a/app/views/browse/changeset.rhtml
+++ b/app/views/browse/changeset.rhtml
@@ -11,8 +11,13 @@
<%= render :partial => "changeset_details", :object => @changeset %>
- <%= link_to "Download Changeset XML", :controller => "changeset", :action => "read" %> |
- <%= link_to "Download osmChange XML", :controller => "changeset", :action => "download" %>
+ Download
+ <%= link_to "Changeset XML", :controller => "changeset", :action => "read" %>
+ or
+ <%= link_to "osmChange XML", :controller => "changeset", :action => "download" %>
|
+ <% if @changeset.has_valid_bbox? %>
+ <%= render :partial => "map", :object => @changeset %>
+ <% end %>