X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/64fb530581ffd21e2522e70e8a2d4c46d666f760..30f21edbc2d0b92c6401b04baa14788802a04b45:/app/views/browse/changeset.html.erb diff --git a/app/views/browse/changeset.html.erb b/app/views/browse/changeset.html.erb index 8e1102128..aff873e45 100644 --- a/app/views/browse/changeset.html.erb +++ b/app/views/browse/changeset.html.erb @@ -1,21 +1,12 @@ -
- <%= t 'browse.changeset.changeset', :id => @changeset.id %>- |
- - <%= render :partial => "navigation" %> - | -
- <%= render :partial => "changeset_details", :object => @changeset %>
- - <%= t 'browse.changeset.download', :changeset_xml_link => link_to(t('browse.changeset.changesetxml'), :controller => "changeset", :action => "read"), +<% content_for :head do %> +<%= stylesheet_link_tag 'browse' %> +<% 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") %> - |
- <% if @changeset.has_valid_bbox? %>
- <%= render :partial => "map", :object => @changeset %>
- <% end %>
-