X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/2c16177174d276335babcca5439cd4e97af62ffa..e72f35f8d9f9452dcc4da95d46d6c25ca3e063da:/app/views/browse/changeset.rhtml diff --git a/app/views/browse/changeset.rhtml b/app/views/browse/changeset.rhtml index 4ecdb8e99..e5963c57f 100644 --- a/app/views/browse/changeset.rhtml +++ b/app/views/browse/changeset.rhtml @@ -1,7 +1,7 @@ - - - - - <% if @changeset.user.data_public? %> - - - - - <% end %> - <% unless @changeset.tags_as_hash.empty? %> - - - - - <% end %> + <%= render :partial => "changeset_details", :object => @changeset %>
- <%= link_to "Download XML", :controller => "changeset", :action => "read" %> + <%= 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 => "map", :object => @node %> + <% if @changeset.has_valid_bbox? %> + <%= render :partial => "map", :object => @changeset %> + <% end %>
-

Changeset: <%= h(@changeset.id) %>

+

<%= t 'browse.changeset.changeset' %> <%= h(@changeset.id) %>

<%= render :partial => "navigation" %> @@ -9,30 +9,13 @@
-
Created at:<%= h(@changeset.created_at) %>
Belongs to:<%= link_to h(@changeset.user.display_name), :controller => "user", :action => "view", :display_name => @changeset.user.display_name %>
Tags: - - <%= render :partial => "tag", :collection => @changeset.tags_as_hash %> -
-