X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/7b9e852c9d53318cfc949fe4ceef2d3b665e2020..1779347849622ade2abf4926a2db867d69f72033:/app/views/browse/changeset.html.erb?ds=sidebyside
diff --git a/app/views/browse/changeset.html.erb b/app/views/browse/changeset.html.erb
index 97f57e41c..96a5280a5 100644
--- a/app/views/browse/changeset.html.erb
+++ b/app/views/browse/changeset.html.erb
@@ -1,12 +1,18 @@
<% content_for :head do %>
<%= stylesheet_link_tag 'browse' %>
<% end %>
+
+<% content_for :heading do %>
+
<%= t 'browse.changeset.changeset', :id => @changeset.id %>
+
+ - <%= link_to(t('browse.changeset.changesetxml'), :controller => "changeset", :action => "read") %>
+ - <%= link_to(t('browse.changeset.osmchangexml'), :controller => "changeset", :action => "download") %>
+
+<% 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 %>
-
-<%= 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") %>
+<%= render :partial => "changeset_details", :object => @changeset %>
\ No newline at end of file