Skip to content
Snippets Groups Projects
Commit bac029e7 authored by Jan-Hendrik Willms's avatar Jan-Hendrik Willms
Browse files

fix blubber and forum icon color, re #78

parent d2bbb76d
No related branches found
No related tags found
No related merge requests found
...@@ -44,7 +44,7 @@ class Blubber extends StudIPPlugin implements StandardPlugin ...@@ -44,7 +44,7 @@ class Blubber extends StudIPPlugin implements StandardPlugin
_('Blubber'), _('Blubber'),
PluginEngine::getURL($this, [], 'messenger/course') 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) $condition = "INNER JOIN blubber_threads USING (thread_id)
WHERE blubber_threads.context_type = 'course' WHERE blubber_threads.context_type = 'course'
......
...@@ -84,7 +84,7 @@ class CoreForum extends StudipPlugin implements ForumModule ...@@ -84,7 +84,7 @@ class CoreForum extends StudipPlugin implements ForumModule
if ($num_entries > 0) { if ($num_entries > 0) {
$navigation->setImage(Icon::create('forum+new', Icon::ROLE_ATTENTION, ['title' => $text])); $navigation->setImage(Icon::create('forum+new', Icon::ROLE_ATTENTION, ['title' => $text]));
} else { } else {
$navigation->setImage(Icon::create('forum', Icon::ROLE_INACTIVE, ['title' => $text])); $navigation->setImage(Icon::create('forum', Icon::ROLE_CLICKABLE, ['title' => $text]));
} }
return $navigation; return $navigation;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment