[openstreetmap/openstreetmap-website] Show changeset element counts using badges (PR #4872)

Anton Khorev notifications at github.com
Mon Jun 3 12:10:51 UTC 2024


We use counter badges in other places. We can use them on changeset pages in element headings instead of numbers in ().

![image](https://github.com/openstreetmap/openstreetmap-website/assets/4158490/55a2742a-b978-4873-8e00-a5a6eb8d4a0c) ![image](https://github.com/openstreetmap/openstreetmap-website/assets/4158490/eab29825-edcb-44c2-8096-9689434d6c29)

You can view, comment on, or merge this pull request online at:

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

-- Commit Summary --

  * Show changeset element counts using badges

-- File Changes --

    M app/helpers/browse_helper.rb (12)
    M app/views/changesets/_paging_nav.html.erb (18)
    M config/locales/en.yml (10)

-- Patch Links --

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

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

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


More information about the rails-dev mailing list