Add tag icon to activity stream
Signed-off-by: Julius Härtl <jus@bitgrid.net>
This commit is contained in:
@@ -201,6 +201,9 @@ class DeckProvider implements IProvider {
|
||||
if (strpos($event->getSubject(), 'comment_') !== false) {
|
||||
$event->setIcon($this->urlGenerator->imagePath('core', 'actions/comment.svg'));
|
||||
}
|
||||
if (strpos($event->getSubject(), 'label_') !== false) {
|
||||
$event->setIcon($this->urlGenerator->imagePath('core', 'actions/tag.svg'));
|
||||
}
|
||||
return $event;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user