Browse Source

fix templates and decimal places

master
lza_menace 1 month ago
parent
commit
238d6073fd
3 changed files with 3 additions and 3 deletions
  1. +1
    -1
      templates/block.html.tera
  2. +1
    -1
      templates/index.html.tera
  3. +1
    -1
      templates/transaction.html.tera

+ 1
- 1
templates/block.html.tera View File

@ -56,7 +56,7 @@
<header>
<h3>Reward</h3>
</header>
<p>{{ block_header.reward / 1000000000000 }} WOW</p>
<p>{{ block_header.reward / 100000000000 }} WOW</p>
</section>
</div>
<div class="col-4 col-6-medium col-12-small">

+ 1
- 1
templates/index.html.tera View File

@ -112,7 +112,7 @@
<tr>
<td>{{ tx.receive_time | date(format="%Y-%m-%d %H:%M") }}</td>
<td><a href="/transaction/{{ tx.id_hash }}">{{ tx.id_hash | truncate(length=8) }}</a></td>
<td>{{ tx.fee / 1000000000000 }} WOW</td>
<td>{{ tx.fee / 100000000000 }} WOW</td>
<td>{{ tx.tx_json_full.vin | length }} / {{ tx.tx_json_full.vout | length }}</td>
<td>{{ tx.tx_json_full.vin.0.key.key_offsets | length }}</td>
</tr>

+ 1
- 1
templates/transaction.html.tera View File

@ -32,7 +32,7 @@
<header>
<h3>Transaction Fee</h3>
</header>
<p>{% if tx_info.0.as_json_full.rct_signatures.txnFee %}{{ tx_info.0.as_json_full.rct_signatures.txnFee / 1000000000000 }} WOW{% else %}0 (mined){% endif %}</p>
<p>{% if tx_info.0.as_json_full.rct_signatures.txnFee %}{{ tx_info.0.as_json_full.rct_signatures.txnFee / 100000000000 }} WOW{% else %}0 (mined){% endif %}</p>
</section>
</div>
<div class="col-4 col-6-medium col-12-small">

Loading…
Cancel
Save