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
View File
@@ -75,6 +75,9 @@ block content
}, 45000);
});
.col-md-12
if settings.movement_page.show_last_updated == true
div.font-weight-bold(style='margin-bottom:15px;') Blockchain data last updated:
span.font-weight-normal=(last_updated == null || last_updated == '0' ? ' N/A' : ' ' + format_unixtime(last_updated))
.card.card-default.border-0.cardSpacer
.card-header
strong="Latest Movement"