]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/browse/note.html.erb
Make titles in note popups link to the note
[rails.git] / app / views / browse / note.html.erb
index a89ad07e5e543ee63af633c68bb5664b7b09848b..740646efb616fce53d14982c25d9239ff281e49c 100644 (file)
 
 <div class='column-1'>
 
+  <% if @note.comments.find { |comment| comment.author.nil? } -%>
+  <div class='browse-section common warning'>
+    <%= t "javascripts.notes.show.anonymous_warning" %>
+  </div>
+  <% end -%>
+
   <div class='browse-section common'>
     <div>
       <h4><%= t "browse.note.opened" %></h4>