[openstreetmap/openstreetmap-website] Don't show 'Download XML' link for deleted elements (PR #3710)

Anton Khorev notifications at github.com
Thu Sep 22 12:08:02 UTC 2022


Fixes https://github.com/openstreetmap/openstreetmap-website/issues/3325. I'm not displaying the link instead of greying it out because pages of elements that never existed don't have download links.
You can view, comment on, or merge this pull request online at:

  https://github.com/openstreetmap/openstreetmap-website/pull/3710

-- Commit Summary --

  * Don't show 'Download XML' link for deleted elements

-- File Changes --

    M app/views/browse/feature.html.erb (6)
    M test/controllers/browse_controller_test.rb (10)

-- Patch Links --

https://github.com/openstreetmap/openstreetmap-website/pull/3710.patch
https://github.com/openstreetmap/openstreetmap-website/pull/3710.diff

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

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


More information about the rails-dev mailing list