diff options
author | Brett Profitt <brett.profitt@gmail.com> | 2012-10-22 20:26:07 -0400 |
---|---|---|
committer | Brett Profitt <brett.profitt@gmail.com> | 2012-10-22 20:26:07 -0400 |
commit | 20ea048b510bfb2ae7eb5e26c8a07205887406e2 (patch) | |
tree | e370c63029504a8960b8838283f156acd5ba8c47 /views/default/object/plugin | |
parent | e6ab6c957aa6b2382abdfa2c7c8c60623a4e17f9 (diff) | |
download | elgg-20ea048b510bfb2ae7eb5e26c8a07205887406e2.tar.gz elgg-20ea048b510bfb2ae7eb5e26c8a07205887406e2.tar.bz2 |
Fixes #3465. Unmet suggestions are marked as warnings instead of errors in plugins.
Diffstat (limited to 'views/default/object/plugin')
-rw-r--r-- | views/default/object/plugin/elements/dependencies.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/views/default/object/plugin/elements/dependencies.php b/views/default/object/plugin/elements/dependencies.php index 8abd61692..d8daedd33 100644 --- a/views/default/object/plugin/elements/dependencies.php +++ b/views/default/object/plugin/elements/dependencies.php @@ -29,6 +29,8 @@ foreach ($deps as $dep) { if ($dep['status']) { $class = "elgg-state-success elgg-dependency elgg-dependency-$type"; + } elseif ($dep['type'] == 'suggests') { + $class = "elgg-state-warning elgg-dependency elgg-dependency-$type"; } else { $class = "elgg-state-error elgg-dependency elgg-dependency-$type"; } |