X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/2c16177174d276335babcca5439cd4e97af62ffa..e192c779862acdde8b0191faca8a2910f2008719:/app/views/browse/changeset.rhtml diff --git a/app/views/browse/changeset.rhtml b/app/views/browse/changeset.rhtml index 4ecdb8e99..95fc1b1ac 100644 --- a/app/views/browse/changeset.rhtml +++ b/app/views/browse/changeset.rhtml @@ -9,30 +9,15 @@ - - Created at: - <%= h(@changeset.created_at) %> - - - <% if @changeset.user.data_public? %> - - Belongs to: - <%= link_to h(@changeset.user.display_name), :controller => "user", :action => "view", :display_name => @changeset.user.display_name %> - - <% end %> - <% unless @changeset.tags_as_hash.empty? %> - - Tags: - - - <%= render :partial => "tag", :collection => @changeset.tags_as_hash %> -
- - - <% end %> + <%= 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" %> - <% # render :partial => "map", :object => @node %> + <% if @changeset.has_valid_bbox? %> + <%= render :partial => "map", :object => @changeset %> + <% end %>