Add new "last updated date" settings

-Added new configurable settings to allow displaying a "last updated date" timestamp for: index, reward, masternode, movement, network, richlist and market pages
-Affected pages are now configured to be completely hidden and disabled when their display settings are set to false
This commit is contained in:
joeuhren
2020-12-31 15:19:48 -07:00
parent 9488e7e588
commit 2fd39d76ce
14 changed files with 357 additions and 89 deletions
+3 -2
View File
@@ -93,8 +93,9 @@ block content
.col-md-12.cardSpacer
.text-center(style='margin-bottom:15px;')
i The current listing of all masternodes known to be active on the network.
div.font-weight-bold(style='margin-bottom:15px;') Last updated:
span.font-weight-normal=(last_updated == null ? ' N/A' : ' ' + format_unixtime(last_updated))
if settings.masternodes_page.show_last_updated == true
div.font-weight-bold(style='margin-bottom:15px;') Masternode list last updated:
span.font-weight-normal=(last_updated == null || last_updated == '0' ? ' N/A' : ' ' + format_unixtime(last_updated))
.card.card-default
.card-header
strong Masternodes