X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/073c866032becb668c2b7c3b7883b7601f282c0b..e70e2dbe9f3fd6422ba74c5f36d50c80705c2ba8:/app/views/browse/changeset.rhtml diff --git a/app/views/browse/changeset.rhtml b/app/views/browse/changeset.rhtml index 57e39db99..e5963c57f 100644 --- a/app/views/browse/changeset.rhtml +++ b/app/views/browse/changeset.rhtml @@ -1,7 +1,7 @@
- Changeset: <%= h(@changeset.id) %>+<%= t 'browse.changeset.changeset' %> <%= h(@changeset.id) %> |
<%= render :partial => "navigation" %> @@ -11,8 +11,11 @@ |
<%= render :partial => "changeset_details", :object => @changeset %>
- <%= link_to "Download Changeset XML", :controller => "changeset", :action => "read" %> | - <%= link_to "Download osmChange XML", :controller => "changeset", :action => "download" %> + <%= 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 %>