]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/browse/note.html.erb
Tone down the anonymous edit warning for notes
[rails.git] / app / views / browse / note.html.erb
index a89ad07e5e543ee63af633c68bb5664b7b09848b..f441b7b3bec2795e61daa687cb2731ce5b3f8a8b 100644 (file)
 
 <div class='column-1'>
 
+  <% if @note.comments.find { |comment| comment.author.nil? } -%>
+  <div class='browse-section common'>
+    <p class="warning"><%= t "javascripts.notes.show.anonymous_warning" %></p>
+  </div>
+  <% end -%>
+
   <div class='browse-section common'>
     <div>
       <h4><%= t "browse.note.opened" %></h4>