From 4b64b9dcdc9fa6a675acd56cc326238faaa4c0a3 Mon Sep 17 00:00:00 2001 From: Baris Soner Usakli Date: Mon, 3 Mar 2014 17:46:54 -0500 Subject: [PATCH] closes #951 --- public/templates/admin/index.tpl | 17 +++++++++++++++-- src/routes/admin.js | 3 +++ 2 files changed, 18 insertions(+), 2 deletions(-) diff --git a/public/templates/admin/index.tpl b/public/templates/admin/index.tpl index 3fac2b0917..95c5290940 100644 --- a/public/templates/admin/index.tpl +++ b/public/templates/admin/index.tpl @@ -30,9 +30,14 @@
-
Active Users socket connections
+
Notices
-
+
+ Emailer Installed +
+
+ Search Plugin Installed +
@@ -61,4 +66,12 @@ +
+
+
Active Users socket connections
+
+
+
+
+
\ No newline at end of file diff --git a/src/routes/admin.js b/src/routes/admin.js index d4cd723c21..d51e4f61d3 100644 --- a/src/routes/admin.js +++ b/src/routes/admin.js @@ -252,8 +252,11 @@ var nconf = require('nconf'), app.namespace('/api/admin', function () { app.get('/index', function (req, res) { + res.json({ version: pkg.version, + emailerInstalled: plugins.hasListeners('action:email.send'), + searchInstalled: plugins.hasListeners('filter:search.query') }); });