Browse Source

Update wallet.html

fee_issues
Arc 5 years ago
committed by GitHub
parent
commit
820bb8deea
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      lnbits/templates/wallet.html

4
lnbits/templates/wallet.html

@ -76,7 +76,7 @@
<!-- small box --> <!-- small box -->
<div class="small-box bg-aqua"> <div class="small-box bg-aqua">
<div class="inner"> <div class="inner">
<h3><b>{{ wallet.balance }} sats</b></h3> <h3><b id="walletsats"></b></h3>
<h3>{{ wallet.name }}</h3> <h3>{{ wallet.name }}</h3>
</div> </div>
<div class="icon"> <div class="icon">
@ -247,6 +247,8 @@
window.user_wallets = {{ user_wallets | megajson | safe }} window.user_wallets = {{ user_wallets | megajson | safe }}
window.wallet = {{ wallet | megajson | safe }} window.wallet = {{ wallet | megajson | safe }}
window.transactions = {{ transactions | megajson | safe }} window.transactions = {{ transactions | megajson | safe }}
document.getElementById("walletsats").innerHTML = Math.round({{ wallet.balance }}) + " sats";
</script> </script>
</div> </div>
{% endblock %} {% endblock %}

Loading…
Cancel
Save