X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/edaddbedaec78a252e988e2271962407e64483fd..5c74a6517cbc5aa4aa958abd0737da8892f58a45:/app/views/browse/changeset.html.erb diff --git a/app/views/browse/changeset.html.erb b/app/views/browse/changeset.html.erb index e5963c57f..aff873e45 100644 --- a/app/views/browse/changeset.html.erb +++ b/app/views/browse/changeset.html.erb @@ -1,21 +1,12 @@ -
- <%= t 'browse.changeset.changeset' %> <%= h(@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 %>
-