diff options
author | Joas Schilling <coding@schilljs.com> | 2016-10-05 11:03:48 +0200 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2016-10-05 11:38:06 +0200 |
commit | 671f16f7069dd070db63f9f13e0c1e8882c3d953 (patch) | |
tree | bcc57929c793f26258bcd1946048d1eb8a7c6dc0 /apps/comments/lib | |
parent | 66ae43880b7d898e54a47d3a4651684d85a1e951 (diff) | |
download | nextcloud-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.php | 5 |
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' => [], ]; } |