don't show badge name if not unlocked

This commit is contained in:
Holly Stubbs 2024-10-08 11:25:24 +01:00
parent da80eb2d78
commit fb971eee19
Signed by: tgpholly
GPG key ID: B8583C4B7D18119E

View file

@ -73,7 +73,7 @@
<img width="32" height="32" src="<%= badge.ImageUrl %>">
</span>
<% } else if (!badge.IsSecret) { %>
<span class="d-inline-block mb-3" tabindex="0" data-bs-toggle="popover" data-bs-trigger="hover focus" data-bs-placement="top" data-bs-title="<%= badge.Name %>" data-bs-content="<small>Not yet unlocked</small>">
<span class="d-inline-block mb-3" tabindex="0" data-bs-toggle="popover" data-bs-trigger="hover focus" data-bs-placement="top" data-bs-title="???">
<img src="https://eusv.net/Mu6LedXkxrZDUB">
</span>
<% } %>