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) %}
|
{% if stat.value|default(false) %}
|
||||||
{% set is_date = stat.is_date|default(false) %}
|
{% set is_date = stat.is_date|default(false) %}
|
||||||
|
|
||||||
<div class="profile__header__stat{% if is_date %} profile__header__stat--date{% endif %}"
|
<div class="profile__header__stat{% if is_date %} profile__header__stat--date" title="{{ stat.value|date('r') }}{% endif %}">
|
||||||
title="{{ stat.value|date('r') }}">
|
|
||||||
<div class="profile__header__stat__name">
|
<div class="profile__header__stat__name">
|
||||||
{{ stat.title }}
|
{{ stat.title }}
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Add table
Reference in a new issue