<p dir="auto">Before I'm able to change <a href="https://github.com/openstreetmap/openstreetmap-website/pull/4370#issuecomment-1826874270" data-hovercard-type="pull_request" data-hovercard-url="/openstreetmap/openstreetmap-website/pull/4370/hovercard">how report categories look</a>, I have to update <a href="https://github.com/AntonKhorev/osm-dwg-helper">my browser extension</a>. Currently categories are not marked in any machine-readable way, so my extension looks for substrings like "vandal" or "spam". If we start localizing categories, these substrings could be missing from reports html. To address that, I'm adding report categories as data attributes here. And I also wrap report dates in <code class="notranslate"><time></code> with <code class="notranslate">datetime</code> attrs.</p>
<p dir="auto">I've already released the new version of the extension. Now I'm waiting for it to propagate to users. Then I'll remove the draft status of this pull request.</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/4382'>https://github.com/openstreetmap/openstreetmap-website/pull/4382</a></p>
<h4>Commit Summary</h4>
<ul>
<li><a href="https://github.com/openstreetmap/openstreetmap-website/pull/4382/commits/43813f118a2081f904ed9087bd75cda7df2aedc7" class="commit-link">43813f1</a> Add machine-readable category and time to report template</li>
</ul>
<h4 style="display: inline-block">File Changes </h4> <p style="display: inline-block">(<a href="https://github.com/openstreetmap/openstreetmap-website/pull/4382/files">1 file</a>)</p>
<ul>
<li>
<strong>M</strong>
<a href="https://github.com/openstreetmap/openstreetmap-website/pull/4382/files#diff-9f4364ccf8191e24c7f76afe07a3d75250521b70be8e825706f0328b710fd73f">app/views/issues/_reports.html.erb</a>
(4)
</li>
</ul>
<h4>Patch Links:</h4>
<ul>
<li><a href='https://github.com/openstreetmap/openstreetmap-website/pull/4382.patch'>https://github.com/openstreetmap/openstreetmap-website/pull/4382.patch</a></li>
<li><a href='https://github.com/openstreetmap/openstreetmap-website/pull/4382.diff'>https://github.com/openstreetmap/openstreetmap-website/pull/4382.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/4382">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAK2OLPP5UK37L4I7S2GPULYHDDL5AVCNFSM6AAAAABABTPS3CVHI2DSMVQWIX3LMV43ASLTON2WKOZSGAYTSMRTGQZDAOI">unsubscribe</a>.<br />You are receiving this because you are subscribed to this thread.<img src="https://github.com/notifications/beacon/AAK2OLPIEUH6VV5CMOHUZDTYHDDL5A5CNFSM6AAAAABABTPS3CWGG33NNVSW45C7OR4XAZNFJFZXG5LFVJRW63LNMVXHIX3JMTHHQWYRUE.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/4382</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/4382",
"url": "https://github.com/openstreetmap/openstreetmap-website/pull/4382",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>