X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/5898b494df440ba9659ac8fbe2e150285a9a85a6..1104165e7ba4640e0c5e0bb4361e76f6911407bd:/app/views/browse/changeset.html.erb diff --git a/app/views/browse/changeset.html.erb b/app/views/browse/changeset.html.erb index bd93708e0..96a5280a5 100644 --- a/app/views/browse/changeset.html.erb +++ b/app/views/browse/changeset.html.erb @@ -1,9 +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 %> -
-<%= 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