X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/b63ce5d460cf794602aa7996cdd857dc39faa3d9..e01df312b8fee6f67bf84b4c8293b57789b6fe2c:/app/views/browse/changeset.html.erb diff --git a/app/views/browse/changeset.html.erb b/app/views/browse/changeset.html.erb index aff873e45..96a5280a5 100644 --- a/app/views/browse/changeset.html.erb +++ b/app/views/browse/changeset.html.erb @@ -1,12 +1,18 @@ <% content_for :head do %> <%= stylesheet_link_tag 'browse' %> <% end %> + +<% content_for :heading do %> +

<%= t 'browse.changeset.changeset', :id => @changeset.id %>

+ +<% end %> + <%= render :partial => "navigation" %> -

<%= t 'browse.changeset.changeset', :id => @changeset.id %>

+ <% if @changeset.has_valid_bbox? %> <%= render :partial => "map", :object => @changeset %> <% end %> -<%= render :partial => "changeset_details", :object => @changeset %> -
-<%= raw t 'browse.changeset.download', :changeset_xml_link => link_to(t('browse.changeset.changesetxml'), :controller => "changeset", :action => "read"), - :osmchange_xml_link => link_to(t('browse.changeset.osmchangexml'), :controller => "changeset", :action => "download") %> +<%= render :partial => "changeset_details", :object => @changeset %> \ No newline at end of file