From bac029e74970e61fbd0b0d6b25e99c581c680d3a Mon Sep 17 00:00:00 2001 From: Jan-Hendrik Willms <tleilax+github@gmail.com> Date: Tue, 23 Nov 2021 16:10:49 +0100 Subject: [PATCH] fix blubber and forum icon color, re #78 --- public/plugins_packages/core/Blubber/Blubber.class.php | 2 +- public/plugins_packages/core/Forum/CoreForum.class.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/public/plugins_packages/core/Blubber/Blubber.class.php b/public/plugins_packages/core/Blubber/Blubber.class.php index d43bc04a00f..e33b763a54e 100644 --- a/public/plugins_packages/core/Blubber/Blubber.class.php +++ b/public/plugins_packages/core/Blubber/Blubber.class.php @@ -44,7 +44,7 @@ class Blubber extends StudIPPlugin implements StandardPlugin _('Blubber'), PluginEngine::getURL($this, [], 'messenger/course') ); - $icon->setImage(Icon::create('blubber', Icon::ROLE_INACTIVE, ['title' => _('Blubber-Messenger')])); + $icon->setImage(Icon::create('blubber', Icon::ROLE_CLICKABLE, ['title' => _('Blubber-Messenger')])); $condition = "INNER JOIN blubber_threads USING (thread_id) WHERE blubber_threads.context_type = 'course' diff --git a/public/plugins_packages/core/Forum/CoreForum.class.php b/public/plugins_packages/core/Forum/CoreForum.class.php index fa2b8f6a04a..bb4d16c6d1d 100644 --- a/public/plugins_packages/core/Forum/CoreForum.class.php +++ b/public/plugins_packages/core/Forum/CoreForum.class.php @@ -84,7 +84,7 @@ class CoreForum extends StudipPlugin implements ForumModule if ($num_entries > 0) { $navigation->setImage(Icon::create('forum+new', Icon::ROLE_ATTENTION, ['title' => $text])); } else { - $navigation->setImage(Icon::create('forum', Icon::ROLE_INACTIVE, ['title' => $text])); + $navigation->setImage(Icon::create('forum', Icon::ROLE_CLICKABLE, ['title' => $text])); } return $navigation; -- GitLab