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 <% if @next_by_user || @prev_by_user %>
52 <div class='secondary-actions'>
53 <% if @prev_by_user %>
54 <%= link_to "<< #{@prev_by_user.id}", :id => @prev_by_user.id %>
58 user = (@prev_by_user || @next_by_user).user.display_name
59 link_to user, :controller => "changeset", :action => "list", :display_name => user
61 <% if @next_by_user %>
63 <%= link_to "#{@next_by_user.id} >>", :id => @next_by_user.id %>
68 <div class='secondary-actions'>
69 <%= link_to(t('browse.changeset.changesetxml'), :controller => "changeset", :action => "read") %>
71 <%= link_to(t('browse.changeset.osmchangexml'), :controller => "changeset", :action => "download") %>