<p>This PR contains a few minor improvements to the messages pages, namely</p>
<ul>
<li>Converting the inbox and outbox lines to tabs, in line with the tabs on the traces pages</li>
<li>Adding a title to the header, since tabs alone looked a bit weird</li>
<li>Putting the message title into the heading for sent messages, for consistency</li>
<li>Making the delete message button red when viewing messages (for consistency with the similar buttons on inbox/outbox) and adding the button to the sent message view page (already shown on the outbox page)</li>
</ul>

<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/3258'>https://github.com/openstreetmap/openstreetmap-website/pull/3258</a></p>

<h4>Commit Summary</h4>
<ul>
  <li>Convert mailbox navigation to use tabs</li>
  <li>Add a title in the heading to match the main menu text</li>
  <li>Ensure the message title shows in the heading for both sent and received messages</li>
  <li>Ensure message destroy button has danger colour when showing the message, and add button to show page when viewing sent messages</li>
</ul>

<h4>File Changes</h4>
<ul>
  <li>
    <strong>M</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/3258/files#diff-71a310e56428492d3af6554127f59c397bb096d4d2b314bffdc8695db3f8995b">app/views/messages/inbox.html.erb</a>
    (5)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/3258/files#diff-f651855e217422384f68dd336fb1f388ee9c5a485b21f848714c892f97772200">app/views/messages/outbox.html.erb</a>
    (6)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/3258/files#diff-38adeaa1f69a9a05b1eb5ccfb417a4ca578fb37d4f0a76c403e32a05d292f5cf">app/views/messages/show.html.erb</a>
    (18)
  </li>
</ul>

<h4>Patch Links:</h4>
<ul>
  <li><a href='https://github.com/openstreetmap/openstreetmap-website/pull/3258.patch'>https://github.com/openstreetmap/openstreetmap-website/pull/3258.patch</a></li>
  <li><a href='https://github.com/openstreetmap/openstreetmap-website/pull/3258.diff'>https://github.com/openstreetmap/openstreetmap-website/pull/3258.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/3258">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAK2OLMUSLW55WYJSUZZR5DTXXF3LANCNFSM5AL6ECHA">unsubscribe</a>.<img src="https://github.com/notifications/beacon/AAK2OLLGYXJFE42ZYN75Z4LTXXF3LA5CNFSM5AL6ECHKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4OCOPOZQ.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/3258",
"url": "https://github.com/openstreetmap/openstreetmap-website/pull/3258",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>