[openstreetmap/openstreetmap-website] Added indicator message preview is empty. (PR #4894)
Nenad Vujicic
notifications at github.com
Fri Jun 14 08:56:29 UTC 2024
This PR addresses "Indicate if the message preview is empty" issue mentioned in the #3748
In app/controllers/site_controller.rb added replacing empty text with "Nothing to preview." when rendering preview. Also, added placeholders "Add subject" and "Add your message here" to forms when creating diary entries, comments and sending messages to another users. Also, updated translation files.


You can view, comment on, or merge this pull request online at:
https://github.com/openstreetmap/openstreetmap-website/pull/4894
-- Commit Summary --
* Added indicator message preview is empty.
-- File Changes --
M app/controllers/site_controller.rb (3)
M app/views/diary_entries/_form.html.erb (4)
M app/views/diary_entries/show.html.erb (2)
M app/views/messages/new.html.erb (4)
M config/locales/en.yml (6)
-- Patch Links --
https://github.com/openstreetmap/openstreetmap-website/pull/4894.patch
https://github.com/openstreetmap/openstreetmap-website/pull/4894.diff
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/4894
You are receiving this because you are subscribed to this thread.
Message ID: <openstreetmap/openstreetmap-website/pull/4894 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20240614/4a904c50/attachment.htm>
More information about the rails-dev
mailing list