From bc236f8182aac8631537f804cb6c6d4323469ffc Mon Sep 17 00:00:00 2001 From: Techywarrior Date: Sat, 6 Apr 2013 09:46:39 -0700 Subject: [PATCH] display message if no plugins installed --- dashboard-ui/scripts/pluginspage.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/dashboard-ui/scripts/pluginspage.js b/dashboard-ui/scripts/pluginspage.js index c8ffe02d8f..742fd6df22 100644 --- a/dashboard-ui/scripts/pluginspage.js +++ b/dashboard-ui/scripts/pluginspage.js @@ -55,6 +55,10 @@ html += ""; } + + if (plugins.length == 0 || !plugins.length) { + html += "
  • You have no plugins installed. Click on the Plugin Catalog to view available plugins.
  • "; + } $('#ulInstalledPlugins', page).html(html).listview('refresh');