<p dir="auto">Currently it's difficult to go between all blocks, blocks on, blocks by pages. For example, it's not obvious where's the link to the <em>all blocks</em> page. I want to make some kind of navigation for it. Something like tabs similar to how they are used on gpx traces pages will probably do:<br>
<a href="https://github.com/openstreetmap/openstreetmap-website/assets/4158490/e37fb173-8bb2-406a-b239-81cdd2604710">image.png (view on web)</a></p>
<p dir="auto">But first I need to make room for tabs. Block pages have <em>Edit</em> and <em>Revoke</em> links in the heading where the tabs are supposed to be:<br>
<a href="https://github.com/openstreetmap/openstreetmap-website/assets/4158490/cd532402-c50d-42ef-a7c7-5207f012c547">image.png (view on web)</a></p>
<p dir="auto">But why these links are there? If they are supposed to work on a currently shown block, they should be below the block, again similar to how <em>Edit</em>/<em>Delete</em> buttons are located on traces pages.</p>
<p dir="auto">This PR moves the links and styles them similarly to traces buttons:<br>
<a href="https://github.com/openstreetmap/openstreetmap-website/assets/4158490/5e5711d0-8617-43c6-8ded-22eb93ceb3d9">image.png (view on web)</a></p>
<p dir="auto">Later I'll turn <em>View all blocks</em> into a tab and add other tabs.</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/4643'>https://github.com/openstreetmap/openstreetmap-website/pull/4643</a></p>

<h4>Commit Summary</h4>
<ul>
  <li><a href="https://github.com/openstreetmap/openstreetmap-website/pull/4643/commits/47b4b51e0805f6379d68bab23450c2a5c98a0e74" class="commit-link">47b4b51</a>  Move edit/revoke block buttons to the bottom</li>
  <li><a href="https://github.com/openstreetmap/openstreetmap-website/pull/4643/commits/2a9888a6429f9732375a2e6a784b3e6334e10294" class="commit-link">2a9888a</a>  Change revoke block buttons to danger style</li>
</ul>

<h4 style="display: inline-block">File Changes </h4> <p style="display: inline-block">(<a href="https://github.com/openstreetmap/openstreetmap-website/pull/4643/files">3 files</a>)</p>
<ul>
  <li>
    <strong>M</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/4643/files#diff-21483aff8c8e9342f056457705f81d9d821f4bc1d1d33c402487ff905f769f52">app/views/user_blocks/revoke.html.erb</a>
    (2)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/4643/files#diff-91ba5db63fe33bdcc37b5101d1cbc6d24a0ec3834bb5eede8ff429f5a19d7b3f">app/views/user_blocks/revoke_all.html.erb</a>
    (2)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/4643/files#diff-d669c04f0a7e45151d990c7457c79db874d8d6c47e41ee6817048eeb600cc9a1">app/views/user_blocks/show.html.erb</a>
    (20)
  </li>
</ul>

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

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