[openstreetmap/openstreetmap-website] Diary entries #index: Migrate to bootstrap pagination (#3024)

Tobias notifications at github.com
Wed Dec 30 13:21:46 UTC 2020


Use https://getbootstrap.com/docs/4.5/components/pagination/ for the pagination.

Side note: I tried using link_to_if but this does not work well in this case since multiple changes need to happen for the disabled state.

# Screenshots

Before

<img width="883" alt="Bildschirmfoto 2020-12-30 um 14 20 37" src="https://user-images.githubusercontent.com/111561/103353882-4952f000-4aaa-11eb-8132-b9ee8f01ed90.png">


After 

<img width="872" alt="Bildschirmfoto 2020-12-30 um 14 20 45" src="https://user-images.githubusercontent.com/111561/103353890-4c4de080-4aaa-11eb-94f0-48572ba0f32e.png">

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

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

-- Commit Summary --

  * Diary entries #index: Migrate to bootstrap pagination

-- File Changes --

    M app/views/diary_entries/index.html.erb (38)

-- Patch Links --

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

-- 
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/pull/3024
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20201230/50a45694/attachment.htm>


More information about the rails-dev mailing list