1 <% set_title(t('browse.changeset.title', :id => @changeset.id)) %>
4 <a class="geolink" href="<%= root_path %>"><span class="icon close"></span></a>
5 <%= t('browse.changeset.title', :id => @changeset.id) %>
8 <div class="browse-section">
9 <h4><%= @changeset.tags['comment'].to_s.presence || t('browse.no_comment') %></h4>
10 <div class="details"><%= changeset_details(@changeset) %></div>
12 <%= render :partial => "tag_details", :object => @changeset.tags.except('comment') %>
14 <% unless @ways.empty? %>
16 <%= type_and_paginated_count('way', @way_pages) %>
17 <%= render :partial => 'paging_nav', :locals => { :pages => @way_pages, :page_param => "way_page" } %>
20 <% @ways.each do |way| %>
21 <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>
26 <% unless @relations.empty? %>
28 <%= type_and_paginated_count('relation', @relation_pages) %>
29 <%= render :partial => 'paging_nav', :locals => { :pages => @relation_pages, :page_param => "relation_page" } %>
32 <% @relations.each do |relation| %>
33 <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>
38 <% unless @nodes.empty? %>
40 <%= type_and_paginated_count('node', @node_pages) %>
41 <%= render :partial => 'paging_nav', :locals => { :pages => @node_pages, :page_param => "node_page"} %>
44 <% @nodes.each do |node| %>
45 <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>
51 <div class='secondary-actions'>
52 <%= link_to(t('browse.changeset.changesetxml'), :controller => "changeset", :action => "read") %>
54 <%= link_to(t('browse.changeset.osmchangexml'), :controller => "changeset", :action => "download") %>