[openstreetmap/openstreetmap-website] Diary editor Edit and Preview buttons wrongly greyed-out (#2607)
mmd
notifications at github.com
Sat May 2 13:17:10 UTC 2020
Only one of the two buttons is greyed out here, so a user can toggle between edit and preview mode. Enabling both of them at the same time isn't a good idea, as a user typically wouldn't want to switch from a Preview mode to the same Preview mode they're already in.
Note that by removing _deemphasized_ (that's what you called greyed out), the Preview button will look like two other buttons "Save" and "Subscribe" we have on that same screen.

https://github.com/openstreetmap/openstreetmap-website/blob/master/app/helpers/application_helper.rb#L33-L34
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/issues/2607#issuecomment-622952251
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20200502/de07205e/attachment.htm>
More information about the rails-dev
mailing list