X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/9a32033209545a69d60cbd551e6bd975cda64341..ababece2cc0e5caf946242d097e80ae7c3dc877d:/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 %>
-