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:
@@ -1,6 +1,7 @@
|
||||
extends layout
|
||||
|
||||
block content
|
||||
include ./includes/common.pug
|
||||
if show_dist == true
|
||||
script.
|
||||
$(document).ready(function() {
|
||||
@@ -34,6 +35,9 @@ block content
|
||||
.row(style='margin-left:0;margin-right:0;')
|
||||
div(class=(show_dist == true ? 'col-xs-12 col-lg-8' : 'col-12'))
|
||||
.container
|
||||
if settings.richlist_page.show_last_updated == true
|
||||
div.font-weight-bold(style='margin-bottom:15px;') Top 100 data last updated:
|
||||
span.font-weight-normal=(last_updated == null || last_updated == '0' ? ' N/A' : ' ' + format_unixtime(last_updated))
|
||||
ul.nav.nav-tabs(role='tablist')
|
||||
li.nav-item(role='presentation')
|
||||
a.nav-link.active(href='#balance', aria-controls='balance', role='tab', data-toggle='tab') #{settings.locale.rl_current_balance}
|
||||
|
||||
Reference in New Issue
Block a user