Display full join and seen dates on hover.

This commit is contained in:
flash 2023-07-19 18:18:27 +00:00
parent e678efedf4
commit c9993bf08b

View file

@ -48,14 +48,14 @@
{% endif %}
{% if user.user_active is defined and user.user_active is not null %}
<div class="usercard__stat usercard__stat--wide">
<div class="usercard__stat usercard__stat--wide" title="{{ user.user_active|date('r') }}">
<div class="usercard__stat__name">Last seen</div>
<div class="usercard__stat__value"><time datetime="{{ user.user_active|date('c') }}">{{ user.user_active|time_format }}</time></div>
</div>
{% endif %}
{% if user.user_created is defined %}
<div class="usercard__stat usercard__stat--wide">
<div class="usercard__stat usercard__stat--wide" title="{{ user.user_created|date('r') }}">
<div class="usercard__stat__name">Joined</div>
<div class="usercard__stat__value"><time datetime="{{ user.user_created|date('c') }}">{{ user.user_created|time_format }}</time></div>
</div>