fix templates and decimal places

master
lza_menace 4 years ago
parent ebcf50376f
commit 238d6073fd

@ -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">

@ -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>

@ -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