diff --git a/src/apps/dashboard/static/apps/dashboard/wallet.js b/src/apps/dashboard/static/apps/dashboard/wallet.js index 135f83b..6c4b6bd 100644 --- a/src/apps/dashboard/static/apps/dashboard/wallet.js +++ b/src/apps/dashboard/static/apps/dashboard/wallet.js @@ -69,7 +69,7 @@ function initWalletTooltips() { if (!portal) return; document.querySelectorAll('.wallet-tokens .token').forEach(token => { - const tooltip = token.querySelector('.token-tooltip'); + const tooltip = token.querySelector('.tt'); if (!tooltip) return; token.addEventListener('mouseenter', () => { diff --git a/src/templates/apps/wallet/_partials/_applet-wallet-tokens.html b/src/templates/apps/wallet/_partials/_applet-wallet-tokens.html index 02e4ff5..041bcae 100644 --- a/src/templates/apps/wallet/_partials/_applet-wallet-tokens.html +++ b/src/templates/apps/wallet/_partials/_applet-wallet-tokens.html @@ -7,25 +7,25 @@ {% if pass_token %}
-
-

{{ pass_token.tooltip_name }}

-

{{ pass_token.tooltip_description }}

+
+

{{ pass_token.tooltip_name }}

+

{{ pass_token.tooltip_description }}

{% if pass_token.tooltip_shoptalk %} - {{ pass_token.tooltip_shoptalk }} +

{{ pass_token.tooltip_shoptalk }}

{% endif %} -

{{ pass_token.tooltip_expiry }}

+

{{ pass_token.tooltip_expiry }}

{% elif coin %}
-
-

{{ coin.tooltip_name }}

-

{{ coin.tooltip_description }}

+
+

{{ coin.tooltip_name }}

+

{{ coin.tooltip_description }}

{% if coin.tooltip_shoptalk %} - {{ coin.tooltip_shoptalk }} +

{{ coin.tooltip_shoptalk }}

{% endif %} -

{{ coin.tooltip_expiry }}

+

{{ coin.tooltip_expiry }}

{% endif %} @@ -33,23 +33,23 @@ {% with free_tokens.0 as token %}
-
-

{{ token.tooltip_name }}{% if free_count > 1 %} (×{{ free_count }}){% endif %}

-

{{ token.tooltip_description }}

+
+

{{ token.tooltip_name }}{% if free_count > 1 %} (×{{ free_count }}){% endif %}

+

{{ token.tooltip_description }}

{% if token.tooltip_shoptalk %} - {{ token.tooltip_shoptalk }} +

{{ token.tooltip_shoptalk }}

{% endif %} -

{{ token.tooltip_expiry }}

+

{{ token.tooltip_expiry }}

{% endwith %} {% else %}
-
-

Free Token

-

0 owned

-

find one around

+
+

Free Token

+

0 owned

+

find one around

{% endif %} @@ -57,20 +57,20 @@ {% with tithe_tokens.0 as token %}
-
-

{{ token.tooltip_name }}{% if tithe_count > 1 %} (×{{ tithe_count }}){% endif %}

-

{{ token.tooltip_description }}

-

{{ token.tooltip_expiry }}

+
+

{{ token.tooltip_name }}{% if tithe_count > 1 %} (×{{ tithe_count }}){% endif %}

+

{{ token.tooltip_description }}

+

{{ token.tooltip_expiry }}

{% endwith %} {% else %}
-
-

Tithe Token

-

0 owned

-

purchase one above

+
+

Tithe Token

+

0 owned

+

purchase one above

{% endif %}