X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/3d7eb387a7c3573f1a1d17df00adcaa1fb9b9fa5..68044c60545093f813ab46611973f052b4584e9a:/app/views/browse/_way_details.html.erb?ds=inline diff --git a/app/views/browse/_way_details.html.erb b/app/views/browse/_way_details.html.erb index d21365b45..6bff887b3 100644 --- a/app/views/browse/_way_details.html.erb +++ b/app/views/browse/_way_details.html.erb @@ -1,9 +1,9 @@ +
<% if way_details.redacted? %> -

<%= t 'browse.redacted.message_html', :type => t('browse.redacted.type.way'), :redaction_link => link_to(t('browse.redacted.redaction', :id => way_details.redaction.id), way_details.redaction), :version => way_details.version %>

+
+ <%= t 'browse.redacted.message_html', :type => t('browse.redacted.type.way'), :redaction_link => link_to(t('browse.redacted.redaction', :id => way_details.redaction.id), way_details.redaction), :version => way_details.version %> +
<% else %> - -
- <%= render :partial => "common_details", :object => way_details %> <% unless way_details.way_nodes.empty? %> @@ -30,6 +30,5 @@ <%= render :partial => "containing_relation", :collection => way_details.containing_relation_members %> <% end %> - -
<% end %> +