aboutsummaryrefslogtreecommitdiff
path: root/views/default
diff options
context:
space:
mode:
Diffstat (limited to 'views/default')
-rw-r--r--views/default/admin/components/plugin.php4
-rw-r--r--views/default/admin/components/plugin_dependencies.php4
-rw-r--r--views/default/css/admin.php6
3 files changed, 8 insertions, 6 deletions
diff --git a/views/default/admin/components/plugin.php b/views/default/admin/components/plugin.php
index 203181d5e..5cf4f169d 100644
--- a/views/default/admin/components/plugin.php
+++ b/views/default/admin/components/plugin.php
@@ -172,13 +172,13 @@ if (elgg_view_exists($settings_view)) {
$reqs = $plugin->manifest->getRequires();
if (!$reqs) {
$message = elgg_echo('admin:plugins:warning:elgg_version_unknown');
- echo "<p class=\"elgg-unsatisfied-dependency\">$message</p>";
+ echo "<p class=\"elgg-state-error\">$message</p>";
}
}
if (!$can_activate) {
$message = elgg_echo('admin:plugins:warning:unmet_dependencies');
- echo "<p class=\"elgg-unsatisfied-dependency\">$message</p>";
+ echo "<p class=\"elgg-state-error\">$message</p>";
}
?>
diff --git a/views/default/admin/components/plugin_dependencies.php b/views/default/admin/components/plugin_dependencies.php
index bb0fa4eec..eea4cd287 100644
--- a/views/default/admin/components/plugin_dependencies.php
+++ b/views/default/admin/components/plugin_dependencies.php
@@ -30,9 +30,9 @@ foreach ($deps as $dep) {
$type = $dep['type'];
if ($dep['status']) {
- $class = "elgg-satisfied-dependency elgg-dependency-$type";
+ $class = "elgg-state-success elgg-dependency-$type";
} else {
- $class = "elgg-unsatisfied-dependency elgg-dependency-$type";
+ $class = "elgg-state-error elgg-dependency-$type";
}
echo "<tr class=\"$row\">";
diff --git a/views/default/css/admin.php b/views/default/css/admin.php
index ab4ad7dcc..e854616eb 100644
--- a/views/default/css/admin.php
+++ b/views/default/css/admin.php
@@ -1006,13 +1006,15 @@ ul.admin_plugins {
.plugin_settings {
font-weight: normal;
}
-.elgg-unsatisfied-dependency {
+
+
+.elgg-state-error {
font-weight: bold;
}
.elgg-dependency-suggests {
font-weight: normal;
}
-p.elgg-unsatisfied-dependency {
+p.elgg-state-error {
padding: 5px 0;
font-weight: bold;
}