X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/e7147d0d7adae704ead9f4985bcda918e622d833..d06081a63ed8e6bfb2e05f087aada3ab2fb4c2b4:/app/views/browse/changeset.rhtml diff --git a/app/views/browse/changeset.rhtml b/app/views/browse/changeset.rhtml index 9345eb087..95fc1b1ac 100644 --- a/app/views/browse/changeset.rhtml +++ b/app/views/browse/changeset.rhtml @@ -11,7 +11,13 @@ <%= render :partial => "changeset_details", :object => @changeset %>
- <%= 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" %> + <% if @changeset.has_valid_bbox? %> + <%= render :partial => "map", :object => @changeset %> + <% end %>