Add version to footer
This commit is contained in:
@@ -9,6 +9,7 @@ var express = require('express')
|
||||
, routes = require('./routes/index')
|
||||
, lib = require('./lib/explorer')
|
||||
, db = require('./lib/database')
|
||||
, package_metadata = require('./package.json')
|
||||
, locale = require('./lib/locale')
|
||||
, request = require('postman-request');
|
||||
|
||||
@@ -273,6 +274,7 @@ app.use('/ext/connections', function(req,res){
|
||||
|
||||
// locals
|
||||
app.set('title', settings.title);
|
||||
app.set('explorer_version', package_metadata.version);
|
||||
app.set('symbol', settings.symbol);
|
||||
app.set('coin', settings.coin);
|
||||
app.set('locale', locale);
|
||||
|
||||
+2
-2
@@ -312,7 +312,7 @@ html
|
||||
ul.nav
|
||||
li.text-center(style='margin-left:80px;margin-right:80px;')
|
||||
p(style='margin-top:15px;')
|
||||
a.navbar-link(href='https://github.com/team-exor/eiquidus', target='_blank') eIquidus Explorer
|
||||
a.navbar-link(href='https://github.com/team-exor/eiquidus', target='_blank') eIquidus Explorer v#{settings.explorer_version}
|
||||
span.connections
|
||||
label#lblBlockcount.label.label-default -
|
||||
label#lblConnections.label.label-default -
|
||||
label#lblConnections.label.label-default -
|
||||
Reference in New Issue
Block a user