v1.18.x
Baris Soner Usakli 11 years ago
parent 1f7a717bf0
commit 4b64b9dcdc

@ -30,9 +30,14 @@
</div> </div>
<div class="col-sm-6"> <div class="col-sm-6">
<div class="panel panel-default"> <div class="panel panel-default">
<div class="panel-heading">Active Users <small><span class="badge" id="connections"></span> socket connections</small></div> <div class="panel-heading">Notices</div>
<div class="panel-body"> <div class="panel-body">
<div id="active_users"></div> <div>
Emailer Installed <!-- IF emailerInstalled --><i class="fa fa-check alert-success"></i><!-- ELSE --><i class="fa fa-times alert-danger"></i><!-- ENDIF emailerInstalled -->
</div>
<div>
Search Plugin Installed <!-- IF searchInstalled --><i class="fa fa-check alert-success"></i><!-- ELSE --><i class="fa fa-times alert-danger"></i><!-- ENDIF searchInstalled -->
</div>
</div> </div>
</div> </div>
</div> </div>
@ -61,4 +66,12 @@
</div> </div>
</div> </div>
</div> </div>
<div class="col-sm-6">
<div class="panel panel-default">
<div class="panel-heading">Active Users <small><span class="badge" id="connections"></span> socket connections</small></div>
<div class="panel-body">
<div id="active_users"></div>
</div>
</div>
</div>
</div> </div>

@ -252,8 +252,11 @@ var nconf = require('nconf'),
app.namespace('/api/admin', function () { app.namespace('/api/admin', function () {
app.get('/index', function (req, res) { app.get('/index', function (req, res) {
res.json({ res.json({
version: pkg.version, version: pkg.version,
emailerInstalled: plugins.hasListeners('action:email.send'),
searchInstalled: plugins.hasListeners('filter:search.query')
}); });
}); });

Loading…
Cancel
Save