X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/942ca1ff2332252ee8db34a436c0b0c1983145b1..3c4dec8ce99eec1a412bbe525a3dd4bc9021366f:/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 %>
-