Fixed date tooltip being displayed on non-date stats on profiles.
This commit is contained in:
parent
0c0ff7126d
commit
9a8c0cc164
1 changed files with 1 additions and 2 deletions
|
@ -84,8 +84,7 @@
|
|||
{% if stat.value|default(false) %}
|
||||
{% set is_date = stat.is_date|default(false) %}
|
||||
|
||||
<div class="profile__header__stat{% if is_date %} profile__header__stat--date{% endif %}"
|
||||
title="{{ stat.value|date('r') }}">
|
||||
<div class="profile__header__stat{% if is_date %} profile__header__stat--date" title="{{ stat.value|date('r') }}{% endif %}">
|
||||
<div class="profile__header__stat__name">
|
||||
{{ stat.title }}
|
||||
</div>
|
||||
|
|
Loading…
Add table
Reference in a new issue