]> git.openstreetmap.org Git - rails.git/commit
Improves notes_description helper routine
authorNenad Vujicic <nenadus@gmail.com>
Wed, 19 Feb 2025 15:07:45 +0000 (16:07 +0100)
committerNenad Vujicic <nenadus@gmail.com>
Fri, 21 Feb 2025 12:31:07 +0000 (13:31 +0100)
commitf8fb850e8c1b0f9fc20f13bfbc9552fd5f897a76
tree75c83f88e65c4bbf09e4646584290b53fb0cbc0a
parentbdf3abeb07354e6424e8ed892ef48bbb6b823ea6
Improves notes_description helper routine

Improves notes_description helper routine to return "unknown" for cases when first note's comment doesn't have event set to "opened" or note doesn't have comments. Added new argument (note's first comment), also updated helper routines usages.
app/helpers/note_helper.rb
app/views/notes/index.html.erb
app/views/notes/show.html.erb
config/locales/en.yml