<p><a href="https://github.com/mboeringa" class="user-mention">@mboeringa</a> sorry about the unexplained code. My patch <em>only</em> alters the display for ways, and what it does is moves the "Part of: Relation x" block up so it's above the "Nodes" block. (The code is not really related to OSM API, it's one of the template files using Ruby's "ERB" templating system.)</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br>Reply to this email directly or <a href="https://github.com/openstreetmap/openstreetmap-website/issues/794#issuecomment-57080865">view it on GitHub</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/1419053__eyJzY29wZSI6Ik5ld3NpZXM6QmVhY29uIiwiZXhwaXJlcyI6MTcyNzUxNzgwOSwiZGF0YSI6eyJpZCI6MzgyMDQxMDh9fQ==--a246b9f3ce9ce6feac8f3693fea605960f5baf8f.gif" width="1" /></p>
<script type="application/ld+json">{"@context":"http://schema.org","@type":"EmailMessage","description":"View this Issue on GitHub","action":{"@type":"ViewAction","url":"https://github.com/openstreetmap/openstreetmap-website/issues/794#issuecomment-57080865","name":"View Issue"}}</script>