Skip to content
Permalink
Browse files

Add version to footer

  • Loading branch information
TheHolyRoger committed Dec 30, 2019
1 parent cae9a67 commit 396581d33c62b9b540a146713fdc0a37f7122d27
Showing with 3 additions and 1 deletion.
  1. +2 −0 app.js
  2. +1 −1 views/layout.pug
2 app.js
@@ -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('request');

@@ -241,6 +242,7 @@ app.use('/ext/connections', function(req,res){

// locals
app.set('title', settings.title);
app.set('iquidus_version', package_metadata.version);
app.set('symbol', settings.symbol);
app.set('coin', settings.coin);
app.set('locale', locale);
@@ -229,7 +229,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/iquidus/explorer', target='_blank') Powered by Iquidus Explorer
a.navbar-link(href='https://github.com/iquidus/explorer', target='_blank') Powered by Iquidus Explorer v#{settings.iquidus_version}
span.connections
label#lblBlockcount.label.label-default -
label#lblConnections.label.label-default -

0 comments on commit 396581d

Please sign in to comment.
You can’t perform that action at this time.