X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/942ca1ff2332252ee8db34a436c0b0c1983145b1..8f25eab257fafb520df47242bfe591fe6b13665a:/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 @@ - - - - - - - - <% if @changeset.has_valid_bbox? %> - <%= render :partial => "map", :object => @changeset %> - <% end %> - -
-

<%= 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") %> -