]> git.openstreetmap.org Git - rails.git/commit
Display no notes message when empty
authorHarry Wood <github@onlineanimals.co.uk>
Fri, 9 Apr 2021 02:53:53 +0000 (03:53 +0100)
committerHarry Wood <github@onlineanimals.co.uk>
Fri, 9 Apr 2021 18:21:09 +0000 (19:21 +0100)
commitde8ee536b1e6d511f6d943b2e9afabf778979e6b
treeccf30f34c978c7fbbf69455f0307c12817079213
parentd8aeb7e6537295aa32b1d0da6ca4a9493cbd1f80
Display no notes message when empty

Display a 'No notes' message when there are no notes to display, rather than an empty table with pagination features.
app/views/notes/index.html.erb
config/locales/en.yml
test/controllers/notes_controller_test.rb