mirror of
https://git.wownero.com/wownero/onion-wownero-blockchain-explorer.git
synced 2024-08-15 00:33:12 +00:00
have_alt_block link added to index2.html
This commit is contained in:
parent
a36e67e9e3
commit
7ee6ed1f4e
2 changed files with 2 additions and 1 deletions
|
@ -730,6 +730,7 @@ namespace xmreg
|
||||||
{"hash_rate" , hash_rate},
|
{"hash_rate" , hash_rate},
|
||||||
{"fee_per_kb" , print_money(current_network_info.fee_per_kb)},
|
{"fee_per_kb" , print_money(current_network_info.fee_per_kb)},
|
||||||
{"alt_blocks_no" , current_network_info.alt_blocks_count},
|
{"alt_blocks_no" , current_network_info.alt_blocks_count},
|
||||||
|
{"have_alt_block" , (current_network_info.alt_blocks_count > 0)},
|
||||||
{"tx_pool_size" , current_network_info.tx_pool_size},
|
{"tx_pool_size" , current_network_info.tx_pool_size},
|
||||||
{"block_size_limit" , block_size_limit},
|
{"block_size_limit" , block_size_limit},
|
||||||
{"is_current_info" , current_network_info.current},
|
{"is_current_info" , current_network_info.current},
|
||||||
|
|
|
@ -40,7 +40,7 @@
|
||||||
| Hash rate: {{hash_rate}}
|
| Hash rate: {{hash_rate}}
|
||||||
| Fee per kb: {{fee_per_kb}}
|
| Fee per kb: {{fee_per_kb}}
|
||||||
| Block size limit: {{block_size_limit}} kB
|
| Block size limit: {{block_size_limit}} kB
|
||||||
| Alt blocks no: {{alt_blocks_no}}
|
| Alt blocks no: {{^have_alt_block}}{{alt_blocks_no}}{{/have_alt_block}}{{#have_alt_block}}<a href="/altblocks">{{alt_blocks_no}}</a>{{/have_alt_block}}
|
||||||
{{^is_current_info}}
|
{{^is_current_info}}
|
||||||
| Data from {{age}} {{age_format}} ago
|
| Data from {{age}} {{age_format}} ago
|
||||||
{{/is_current_info}}
|
{{/is_current_info}}
|
||||||
|
|
Loading…
Reference in a new issue