[openstreetmap/openstreetmap-website] Replace submitted note table colors with created/resolved (PR #5269)

Tom Hughes notifications at github.com
Fri Oct 18 14:13:10 UTC 2024


After your change the test is:

```ruby
opened_by_user = note.comments.any? { |comment| comment.author == @user && comment.event == "opened" }
```

which will be true if the user has ever opened it, either the original open or a reopen?

-- 
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/5269#issuecomment-2422575702
You are receiving this because you are subscribed to this thread.

Message ID: <openstreetmap/openstreetmap-website/pull/5269/c2422575702 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20241018/b509aa4f/attachment.htm>


More information about the rails-dev mailing list