<p>Use <a rel="nofollow" href="https://getbootstrap.com/docs/4.5/components/pagination/">https://getbootstrap.com/docs/4.5/components/pagination/</a> for the pagination.</p>
<p>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.</p>
<h1>Screenshots</h1>
<p>Before</p>
<p><a target="_blank" rel="noopener noreferrer" href="https://user-images.githubusercontent.com/111561/103353882-4952f000-4aaa-11eb-8132-b9ee8f01ed90.png"><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" style="max-width:100%;"></a></p>
<p>After</p>
<p><a target="_blank" rel="noopener noreferrer" href="https://user-images.githubusercontent.com/111561/103353890-4c4de080-4aaa-11eb-94f0-48572ba0f32e.png"><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" style="max-width:100%;"></a></p>

<hr>

<h4>You can view, comment on, or merge this pull request online at:</h4>
<p>  <a href='https://github.com/openstreetmap/openstreetmap-website/pull/3024'>https://github.com/openstreetmap/openstreetmap-website/pull/3024</a></p>

<h4>Commit Summary</h4>
<ul>
  <li>Diary entries #index: Migrate to bootstrap pagination</li>
</ul>

<h4>File Changes</h4>
<ul>
  <li>
    <strong>M</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/3024/files#diff-aad6c85558af2a77937df72b074ef1a972b08171986d4dbddf0c86d0cf83a3f5">app/views/diary_entries/index.html.erb</a>
    (38)
  </li>
</ul>

<h4>Patch Links:</h4>
<ul>
  <li><a href='https://github.com/openstreetmap/openstreetmap-website/pull/3024.patch'>https://github.com/openstreetmap/openstreetmap-website/pull/3024.patch</a></li>
  <li><a href='https://github.com/openstreetmap/openstreetmap-website/pull/3024.diff'>https://github.com/openstreetmap/openstreetmap-website/pull/3024.diff</a></li>
</ul>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/openstreetmap/openstreetmap-website/pull/3024">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAK2OLJC7DRMPFF3DT5YHHLSXMSOVANCNFSM4VOKIC4A">unsubscribe</a>.<img src="https://github.com/notifications/beacon/AAK2OLLCD54BB4YJMBTKAXDSXMSOVA5CNFSM4VOKIC4KYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4LSHXRAA.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/openstreetmap/openstreetmap-website/pull/3024",
"url": "https://github.com/openstreetmap/openstreetmap-website/pull/3024",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>