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
+38
View File
@@ -140,12 +140,50 @@ exports.movement = {
//index
exports.index = {
// show_last_updated: determine whether to show a label above the transaction data with the last updated date
"show_last_updated": true,
"show_hashrate": false,
"difficulty": "POS",
"last_txs": 100,
"txs_per_page": 10
};
// reward page
exports.reward_page = {
// show_last_updated: determine whether to show a label above the reward data with the last updated date
"show_last_updated": true
};
// masternodes page
exports.masternodes_page = {
// show_last_updated: determine whether to show a label above the masternode data with the last updated date
"show_last_updated": true
};
// movement page
exports.movement_page = {
// show_last_updated: determine whether to show a label above the movement data with the last updated date
"show_last_updated": true
};
// network page
exports.network_page = {
// show_last_updated: determine whether to show a label above the network data with the last updated date
"show_last_updated": true
};
// richlist page
exports.richlist_page = {
// show_last_updated: determine whether to show a label above the richlist data with the last updated date
"show_last_updated": true
};
// markets page
exports.markets_page = {
// show_last_updated: determine whether to show a label above the market data with the last updated date
"show_last_updated": true
};
// twitter, facebook, googleplus, bitcointalk, github, slack, discord, telegram, reddit, youtube, website
exports.twitter = "your-twitter-username";
exports.facebook = "your-facebook-username";