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
+4
View File
@@ -1,6 +1,7 @@
extends layout
block content
include ./includes/common.pug
script.
$(document).ready(function() {
$('.summary-table').dataTable({
@@ -17,6 +18,9 @@ block content
});
.row(style='margin-left:0;margin-right:0;')
.col-xs-12.col-md-12
if settings.reward_page.show_last_updated == true
div.font-weight-bold(style='margin-bottom:15px;') Reward data last updated:
span.font-weight-normal=(last_updated == null || last_updated == '0' ? ' N/A' : ' ' + format_unixtime(last_updated))
.card.card-default.border-0.card-address-summary
.card-header(style='position:relative;')
strong #{settings.locale.heavy_title}