From bafebd864aab8f59dface5fc2d62053d18f081d1 Mon Sep 17 00:00:00 2001 From: Ronak Date: Thu, 1 Jun 2023 04:34:42 -0700 Subject: [PATCH 1/2] Onlyoffice icon changes --- appinfo/info.xml | 2 +- lib/Service/AppsService.php | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/appinfo/info.xml b/appinfo/info.xml index 7f50ed3..7f66f06 100644 --- a/appinfo/info.xml +++ b/appinfo/info.xml @@ -5,7 +5,7 @@ Murena Dashboard Murena Dashboard - 2.0.3 + 2.0.4 agpl Murena MurenaDashboard diff --git a/lib/Service/AppsService.php b/lib/Service/AppsService.php index f17549f..05009c5 100644 --- a/lib/Service/AppsService.php +++ b/lib/Service/AppsService.php @@ -50,17 +50,17 @@ class AppsService { $onlyOfficeEntries = array( array( "id" => "onlyoffice_docx", - "icon" => $this->urlGenerator->imagePath('core', 'filetypes/x-office-document.svg'), + "icon" => "icon" => $this->urlGenerator->imagePath('onlyoffice', 'docx/app-color.svg'),, "name" => $l->t("Document"), ), array( "id" => "onlyoffice_xlsx", - "icon" => $this->urlGenerator->imagePath('core', 'filetypes/x-office-spreadsheet.svg'), + "icon" => $this->urlGenerator->imagePath('onlyoffice', 'xlsx/app-color.svg'), "name" => $l->t("Spreadsheet"), ), array( "id" => "onlyoffice_pptx", - "icon" => $this->urlGenerator->imagePath('core', 'filetypes/x-office-presentation.svg'), + "icon" => "icon" => $this->urlGenerator->imagePath('onlyoffice', 'pptx/app-color.svg'), "name" => $l->t("Presentation"), ), ); -- GitLab From 41cb48be2ea336556ef0daeec828d61ac245e39c Mon Sep 17 00:00:00 2001 From: Ronak Date: Thu, 1 Jun 2023 04:42:59 -0700 Subject: [PATCH 2/2] icon path --- lib/Service/AppsService.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/Service/AppsService.php b/lib/Service/AppsService.php index 05009c5..a2461d3 100644 --- a/lib/Service/AppsService.php +++ b/lib/Service/AppsService.php @@ -50,7 +50,7 @@ class AppsService { $onlyOfficeEntries = array( array( "id" => "onlyoffice_docx", - "icon" => "icon" => $this->urlGenerator->imagePath('onlyoffice', 'docx/app-color.svg'),, + "icon" => $this->urlGenerator->imagePath('onlyoffice', 'docx/app-color.svg'),, "name" => $l->t("Document"), ), array( @@ -60,7 +60,7 @@ class AppsService { ), array( "id" => "onlyoffice_pptx", - "icon" => "icon" => $this->urlGenerator->imagePath('onlyoffice', 'pptx/app-color.svg'), + "icon" => $this->urlGenerator->imagePath('onlyoffice', 'pptx/app-color.svg'), "name" => $l->t("Presentation"), ), ); -- GitLab