diff --git a/admin/themes/default/js/plugins_installated.js b/admin/themes/default/js/plugins_installated.js index 5b5dee6f0..c7df9de02 100644 --- a/admin/themes/default/js/plugins_installated.js +++ b/admin/themes/default/js/plugins_installated.js @@ -87,7 +87,7 @@ function activatePlugin(id) { if (data.stat == 'ok') { let pluginName = id; $("#" + id + " .pluginNotif").stop(false, true); - $("#" + id + " .AddPluginSuccess label span:first").html(plugin_added_str.replace("%s", pluginName)); + $("#" + id + " .AddPluginSuccess label span:first").html(plugin_added_str); $("#" + id + " .AddPluginSuccess").css("display", "flex"); nb_plugin.active += 1; @@ -128,7 +128,7 @@ function disactivatePlugin(id) { if (data.stat == 'ok') { let pluginName = id; $("#" + id + " .pluginNotif").stop(false, true); - $("#" + id + " .DeactivatePluginSuccess label span:first").html(plugin_deactivated_str.replace("%s", pluginName)); + $("#" + id + " .DeactivatePluginSuccess label span:first").html(plugin_deactivated_str); $("#" + id + " .DeactivatePluginSuccess").css("display", "flex"); nb_plugin.inactive += 1; @@ -209,7 +209,7 @@ function restorePlugin(id) { if (data.stat == 'ok') { let pluginName = id; $("#" + id + " .pluginNotif").stop(false, true); - $("#" + id + " .RestorePluginSuccess label span:first").html(plugin_restored_str.replace("%s", pluginName)); + $("#" + id + " .RestorePluginSuccess label span:first").html(plugin_restored_str); $("#" + id + " .RestorePluginSuccess").css("display", "flex"); } }, diff --git a/admin/themes/default/template/plugins_installed.tpl b/admin/themes/default/template/plugins_installed.tpl index 356624b07..8ec4f864e 100644 --- a/admin/themes/default/template/plugins_installed.tpl +++ b/admin/themes/default/template/plugins_installed.tpl @@ -554,31 +554,17 @@ jQuery(".pluginMiniBox").each(function(index){ white-space: nowrap; } -.AddPluginSuccess span, -.RestorePluginSuccess span, -.DeactivatePluginSuccess span { - color: #0a0; -} - .AddPluginSuccess label, .DeactivatePluginSuccess label, .RestorePluginSuccess label { padding: 10px; - background-color: #c2f5c2; cursor: default; - color: #0a0; border-radius: 30px; } -.PluginActionError span { - color: rgb(170, 0, 0); -} - .PluginActionError label { padding: 10px; - background-color: #f5c2c2; cursor: default; - color: rgb(170, 0, 0); border-radius: 30px; } diff --git a/admin/themes/default/theme.css b/admin/themes/default/theme.css index f7a6792cb..c6083ebf8 100644 --- a/admin/themes/default/theme.css +++ b/admin/themes/default/theme.css @@ -2181,6 +2181,28 @@ h2:lang(en) { text-transform:capitalize; } color: #111; } +.AddPluginSuccess span, +.RestorePluginSuccess span, +.DeactivatePluginSuccess span { + color: #0a0; +} + +.AddPluginSuccess label, +.DeactivatePluginSuccess label, +.RestorePluginSuccess label { + background-color: #c2f5c2; + color: #0a0; +} + +.PluginActionError span { + color: rgb(170, 0, 0); +} + +.PluginActionError label { + background-color: #f5c2c2; + color: rgb(170, 0, 0); +} + .PluginOptionsBlock{ display:none; position:absolute; diff --git a/admin/themes/roma/theme.css b/admin/themes/roma/theme.css index 8a6631a4d..785a86606 100644 --- a/admin/themes/roma/theme.css +++ b/admin/themes/roma/theme.css @@ -1245,6 +1245,27 @@ li.plupload_delete a:hover {background: url("images/cancelhover.svg")!important; color: #111; } +.AddPluginSuccess span, +.RestorePluginSuccess span, +.DeactivatePluginSuccess span { + color: #c2f5c2; +} + +.AddPluginSuccess label, +.DeactivatePluginSuccess label, +.RestorePluginSuccess label { + color: #c2f5c2; + background-color: #0a0; +} + +.PluginActionError span { + color: #ffd5dc +} + +.PluginActionError label { + background-color: #f22; + color: #ffd5dc +} .addAlbum label{ color:#aaa;