aboutsummaryrefslogtreecommitdiffstats
path: root/apps/comments/lib
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2016-10-05 11:03:48 +0200
committerJoas Schilling <coding@schilljs.com>2016-10-05 11:38:06 +0200
commit671f16f7069dd070db63f9f13e0c1e8882c3d953 (patch)
treebcc57929c793f26258bcd1946048d1eb8a7c6dc0 /apps/comments/lib
parent66ae43880b7d898e54a47d3a4651684d85a1e951 (diff)
downloadnextcloud-server-671f16f7069dd070db63f9f13e0c1e8882c3d953.tar.gz
nextcloud-server-671f16f7069dd070db63f9f13e0c1e8882c3d953.zip
Add icons to activity navigation
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'apps/comments/lib')
-rw-r--r--apps/comments/lib/Activity/Extension.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/apps/comments/lib/Activity/Extension.php b/apps/comments/lib/Activity/Extension.php
index 0a7503c1915..8abe42eb9df 100644
--- a/apps/comments/lib/Activity/Extension.php
+++ b/apps/comments/lib/Activity/Extension.php
@@ -247,14 +247,15 @@ class Extension implements IExtension {
public function getNavigation() {
$l = $this->getL10N();
return [
- 'apps' => [],
- 'top' => [
+ 'apps' => [
self::APP_NAME => [
'id' => self::APP_NAME,
+ 'icon' => 'icon-comment',
'name' => (string) $l->t('Comments'),
'url' => $this->URLGenerator->linkToRoute('activity.Activities.showList', ['filter' => self::APP_NAME]),
],
],
+ 'top' => [],
];
}