1 <% set_title("#{t('browse.changeset.title')} | #{@changeset.id}") %>
4 <a class="geolink" href="<%= root_path %>"><span class="icon close"></span></a>
5 <%= t 'browse.changeset.changeset', :id => @changeset.id %>
8 <div class="browse-section">
9 <p><%= @changeset.tags['comment'].to_s.presence || t('browse.changeset_details.no_comment') %></p>
10 <h4><%= changeset_details(@changeset) %></h4>
13 <%= render :partial => "tag_details", :object => @changeset.tags.except('comment') %>
15 <% unless @nodes.empty? %>
16 <div class='browse-section paginate'>
18 <%= type_and_paginated_count('node', @node_pages) %>
19 <%= render :partial => 'paging_nav', :locals => { :pages => @node_pages, :page_param => "node_page"} %>
22 <% @nodes.each do |node| %>
23 <li><%= link_to h(printable_name(node, true)), { :action => "node", :id => node.node_id.to_s }, :class => link_class('node', node), :title => link_title(node) %></li>
29 <% unless @ways.empty? %>
30 <div class='browse-section paginate'>
32 <%= type_and_paginated_count('way', @way_pages) %>
33 <%= render :partial => 'paging_nav', :locals => { :pages => @way_pages, :page_param => "way_page" } %>
36 <% @ways.each do |way| %>
37 <li><%= link_to h(printable_name(way, true)), { :action => "way", :id => way.way_id.to_s }, :class => link_class('way', way), :title => link_title(way) %></li>
43 <% unless @relations.empty? %>
44 <div class='browse-section paginate'>
46 <%= type_and_paginated_count('relation', @relation_pages) %>
47 <%= render :partial => 'paging_nav', :locals => { :pages => @relation_pages, :page_param => "relation_page" } %>
50 <% @relations.each do |relation| %>
51 <li><%= link_to h(printable_name(relation, true)), { :action => "relation", :id => relation.relation_id.to_s }, :class => link_class('relation', relation), :title => link_title(relation) %></li>
57 <div class='browse-section secondary-actions'>
58 <h4><%= link_to(t('browse.changeset.changesetxml'), :controller => "changeset", :action => "read") %>
60 <%= link_to(t('browse.changeset.osmchangexml'), :controller => "changeset", :action => "download") %></h4>