X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/8090e086daad67eac711ad6fd6a5eba6f28d44fd..60f2074baca1b36bf02b02be976a2527d60c5fef:/app/views/notes/mine.html.erb?ds=inline diff --git a/app/views/notes/mine.html.erb b/app/views/notes/mine.html.erb index fd0e29165..666c7dc8f 100644 --- a/app/views/notes/mine.html.erb +++ b/app/views/notes/mine.html.erb @@ -17,7 +17,7 @@ <% @notes.each do |note| -%> class="creator"<% end %>> - <% if note.status == "closed" %> + <% if note.closed? %> <%= image_tag("closed_note_marker.png", :alt => 'closed') %> <% else %> <%= image_tag("open_note_marker.png", :alt => 'open') %>