]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/notes/mine.html.erb
Centre editors correctly when note=N is specified
[rails.git] / app / views / notes / mine.html.erb
index fd0e2916562369a73cfd4c9915115b063be3b675..666c7dc8f94c6af01bad70d4f32d2b54969949f6 100644 (file)
@@ -17,7 +17,7 @@
 <% @notes.each do |note| -%>
   <tr<% if note.author != @user2 %> class="creator"<% end %>>
     <td>
-      <% if note.status == "closed" %>
+      <% if note.closed? %>
         <%= image_tag("closed_note_marker.png", :alt => 'closed') %>
       <% else %>
         <%= image_tag("open_note_marker.png", :alt => 'open') %>