1 <% if node.redacted? %>
2 <div class='browse-section browse-redacted'>
3 <%= t 'browse.redacted.message_html',
4 :type => t('browse.redacted.type.node'),
5 :version => node.version,
6 :redaction_link => link_to(t('browse.redacted.redaction',
7 :id => node.redaction.id), node.redaction) %>
10 <div class='browse-section browse-node'>
11 <%= render :partial => "common_details", :object => node %>
13 <% unless node.ways.empty? and node.containing_relation_members.empty? %>
14 <h4><%= t 'browse.part_of' %></h4>
16 <% node.ways.each do |way| %>
17 <li><%= link_to h(printable_name(way)), { :action => "way", :id => way.id.to_s }, :class => link_class('way', way), :title => link_title(way) %></li>
19 <%= render :partial => "containing_relation", :collection => node.containing_relation_members %>