fix unlock date
This commit is contained in:
parent
fb971eee19
commit
56aa64c5ce
1 changed files with 1 additions and 1 deletions
|
@ -69,7 +69,7 @@
|
||||||
<% for (const badgeKey of badgeById.keys) { %>
|
<% for (const badgeKey of badgeById.keys) { %>
|
||||||
<% const badge = badgeById.get(badgeKey); const unlockedBadge = unlockedBadgesById.get(badgeKey); %>
|
<% const badge = badgeById.get(badgeKey); const unlockedBadge = unlockedBadgesById.get(badgeKey); %>
|
||||||
<% if (unlockedBadge) { %>
|
<% if (unlockedBadge) { %>
|
||||||
<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="<%= badge.Description %><br><small>Unlocked on <%= badge.CreatedDatetime.toString().split(" ").slice(1, 4).join(" ") %></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="<%= badge.Name %>" data-bs-content="<%= badge.Description %><br><small>Unlocked on <%= unlockedBadge.CreatedDatetime.toString().split(" ").slice(1, 4).join(" ") %></small>">
|
||||||
<img width="32" height="32" src="<%= badge.ImageUrl %>">
|
<img width="32" height="32" src="<%= badge.ImageUrl %>">
|
||||||
</span>
|
</span>
|
||||||
<% } else if (!badge.IsSecret) { %>
|
<% } else if (!badge.IsSecret) { %>
|
||||||
|
|
Loading…
Reference in a new issue