<p dir="auto">This PR addresses "Add note and comment counts too the user profile" issue mentioned in the <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="261812177" data-permission-text="Title is private" data-url="https://github.com/openstreetmap/openstreetmap-website/issues/1643" data-hovercard-type="issue" data-hovercard-url="/openstreetmap/openstreetmap-website/issues/1643/hovercard" href="https://github.com/openstreetmap/openstreetmap-website/issues/1643">#1643</a></p>
<p dir="auto">In app\views\users\show.html.erb added displaying notes and diary comments counts for both cases when displaying user's own profile page and when displaying user's profile page to the public.</p>
<p dir="auto">Before:<br>
<a href="https://github.com/openstreetmap/openstreetmap-website/assets/25298521/c7d5e99e-3347-4920-968b-2cd785642bc9">image.png (view on web)</a></p>
<p dir="auto">After:<br>
<a href="https://github.com/openstreetmap/openstreetmap-website/assets/25298521/4593451f-46f8-450e-b4d2-f4c92ba9bc64">image.png (view on web)</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/4875'>https://github.com/openstreetmap/openstreetmap-website/pull/4875</a></p>
<h4>Commit Summary</h4>
<ul>
<li><a href="https://github.com/openstreetmap/openstreetmap-website/pull/4875/commits/ae142cb6c3410cdf0776dcb83d691fadb663067d" class="commit-link">ae142cb</a> Fixed "Add note and comment counts to the user profile" described in #1643</li>
</ul>
<h4 style="display: inline-block">File Changes </h4> <p style="display: inline-block">(<a href="https://github.com/openstreetmap/openstreetmap-website/pull/4875/files">1 file</a>)</p>
<ul>
<li>
<strong>M</strong>
<a href="https://github.com/openstreetmap/openstreetmap-website/pull/4875/files#diff-78ff736409d758722403cce31873ba803b3fb526d37398ca21caa557b54dfd95">app/views/users/show.html.erb</a>
(4)
</li>
</ul>
<h4>Patch Links:</h4>
<ul>
<li><a href='https://github.com/openstreetmap/openstreetmap-website/pull/4875.patch'>https://github.com/openstreetmap/openstreetmap-website/pull/4875.patch</a></li>
<li><a href='https://github.com/openstreetmap/openstreetmap-website/pull/4875.diff'>https://github.com/openstreetmap/openstreetmap-website/pull/4875.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/4875">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAK2OLMPU7F6YYZ3TC2QFQLZFWIDDAVCNFSM6AAAAABIYGPCSWVHI2DSMVQWIX3LMV43ASLTON2WKOZSGMZTGMJTHA4DANY">unsubscribe</a>.<br />You are receiving this because you are subscribed to this thread.<img src="https://github.com/notifications/beacon/AAK2OLP5CB6EHO6G7Z3HIOLZFWIDDA5CNFSM6AAAAABIYGPCSWWGG33NNVSW45C7OR4XAZNFJFZXG5LFVJRW63LNMVXHIX3JMTHIWEG7O4.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/4875</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/4875",
"url": "https://github.com/openstreetmap/openstreetmap-website/pull/4875",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>