[openstreetmap/openstreetmap-website] Add navigation tabs to edit block pages (PR #5086)

Anton Khorev notifications at github.com
Fri Aug 16 10:32:19 UTC 2024


Before:
![image](https://github.com/user-attachments/assets/14f467eb-b74c-45c4-bc0a-8087aec402ba)

After:
![image](https://github.com/user-attachments/assets/4ce2ceed-5d48-4c2d-bcc3-3605274fe45c)

The last tab leads to the block show page and is selected even if we're on edit page. I don't think it's worth it to add another tab just for the edit page.
You can view, comment on, or merge this pull request online at:

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

-- Commit Summary --

  * Add navigation tabs to edit block pages

-- File Changes --

    M app/views/user_blocks/_navigation.html.erb (2)
    M app/views/user_blocks/edit.html.erb (9)
    M config/locales/en.yml (2)

-- Patch Links --

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

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

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


More information about the rails-dev mailing list