From 7f9a81e4d625bd8a08eadb8866123e9591e60176 Mon Sep 17 00:00:00 2001 From: Eric Reed Date: Wed, 19 Jun 2013 11:00:31 -0400 Subject: [PATCH] Improve install message for MBClassic plugins --- dashboard-ui/scripts/addpluginpage.js | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/dashboard-ui/scripts/addpluginpage.js b/dashboard-ui/scripts/addpluginpage.js index 55e9375f9..2feb2c6f6 100644 --- a/dashboard-ui/scripts/addpluginpage.js +++ b/dashboard-ui/scripts/addpluginpage.js @@ -81,7 +81,15 @@ } else { $("#btnInstallDiv", page).hide(); $("#pSelectVersion", page).hide(); - $("#nonServerMsg", page).html("This plugin must be installed from " + pkg.targetSystem).show(); + var msg = "This plugin must be installed from "; + switch (pkg.targetSystem) { + case "MBClassic": + msg += "the MBClassic Configurator"; + break; + default: + msg += pkg.targetSystem; + } + $("#nonServerMsg", page).html(msg).show(); } if (pkg.shortDescription) {