diff --git a/apps/dav/img/LICENSES.md b/apps/dav/img/LICENSES.md new file mode 100644 index 0000000000000..a1b776c050099 --- /dev/null +++ b/apps/dav/img/LICENSES.md @@ -0,0 +1,6 @@ +# Licenses + +## schedule.svg +- Created by: Google +- License: Apache License, Version 2.0 +- Link: https://fonts.google.com/icons?selected=Material%20Icons%3Aschedule%3A diff --git a/apps/dav/img/schedule.svg b/apps/dav/img/schedule.svg new file mode 100644 index 0000000000000..0d632671fb1a3 --- /dev/null +++ b/apps/dav/img/schedule.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/apps/dav/lib/Settings/AvailabilitySettings.php b/apps/dav/lib/Settings/AvailabilitySettings.php index 9a163e21edb81..1a8a822a90f68 100644 --- a/apps/dav/lib/Settings/AvailabilitySettings.php +++ b/apps/dav/lib/Settings/AvailabilitySettings.php @@ -35,7 +35,7 @@ public function getForm(): TemplateResponse { } public function getSection(): string { - return 'groupware'; + return 'availability'; } public function getPriority(): int { diff --git a/apps/settings/appinfo/info.xml b/apps/settings/appinfo/info.xml index 219d4c25f7941..98f64754a4bec 100644 --- a/apps/settings/appinfo/info.xml +++ b/apps/settings/appinfo/info.xml @@ -38,7 +38,7 @@ OCA\Settings\Settings\Personal\Security\Password OCA\Settings\Settings\Personal\Security\TwoFactor OCA\Settings\Settings\Personal\Security\WebAuthn - OCA\Settings\Sections\Personal\Groupware + OCA\Settings\Sections\Personal\Availability OCA\Settings\Sections\Personal\PersonalInfo OCA\Settings\Sections\Personal\Security OCA\Settings\Sections\Personal\SyncClients diff --git a/apps/settings/composer/composer/autoload_classmap.php b/apps/settings/composer/composer/autoload_classmap.php index 9e23fc349962d..df7d14e6828c3 100644 --- a/apps/settings/composer/composer/autoload_classmap.php +++ b/apps/settings/composer/composer/autoload_classmap.php @@ -48,7 +48,7 @@ 'OCA\\Settings\\Sections\\Admin\\Security' => $baseDir . '/../lib/Sections/Admin/Security.php', 'OCA\\Settings\\Sections\\Admin\\Server' => $baseDir . '/../lib/Sections/Admin/Server.php', 'OCA\\Settings\\Sections\\Admin\\Sharing' => $baseDir . '/../lib/Sections/Admin/Sharing.php', - 'OCA\\Settings\\Sections\\Personal\\Groupware' => $baseDir . '/../lib/Sections/Personal/Groupware.php', + 'OCA\\Settings\\Sections\\Personal\\Availability' => $baseDir . '/../lib/Sections/Personal/Availability.php', 'OCA\\Settings\\Sections\\Personal\\PersonalInfo' => $baseDir . '/../lib/Sections/Personal/PersonalInfo.php', 'OCA\\Settings\\Sections\\Personal\\Security' => $baseDir . '/../lib/Sections/Personal/Security.php', 'OCA\\Settings\\Sections\\Personal\\SyncClients' => $baseDir . '/../lib/Sections/Personal/SyncClients.php', diff --git a/apps/settings/composer/composer/autoload_static.php b/apps/settings/composer/composer/autoload_static.php index 7d00184dc7f5f..5439f5313e24e 100644 --- a/apps/settings/composer/composer/autoload_static.php +++ b/apps/settings/composer/composer/autoload_static.php @@ -63,7 +63,7 @@ class ComposerStaticInitSettings 'OCA\\Settings\\Sections\\Admin\\Security' => __DIR__ . '/..' . '/../lib/Sections/Admin/Security.php', 'OCA\\Settings\\Sections\\Admin\\Server' => __DIR__ . '/..' . '/../lib/Sections/Admin/Server.php', 'OCA\\Settings\\Sections\\Admin\\Sharing' => __DIR__ . '/..' . '/../lib/Sections/Admin/Sharing.php', - 'OCA\\Settings\\Sections\\Personal\\Groupware' => __DIR__ . '/..' . '/../lib/Sections/Personal/Groupware.php', + 'OCA\\Settings\\Sections\\Personal\\Availability' => __DIR__ . '/..' . '/../lib/Sections/Personal/Availability.php', 'OCA\\Settings\\Sections\\Personal\\PersonalInfo' => __DIR__ . '/..' . '/../lib/Sections/Personal/PersonalInfo.php', 'OCA\\Settings\\Sections\\Personal\\Security' => __DIR__ . '/..' . '/../lib/Sections/Personal/Security.php', 'OCA\\Settings\\Sections\\Personal\\SyncClients' => __DIR__ . '/..' . '/../lib/Sections/Personal/SyncClients.php', diff --git a/apps/settings/lib/Sections/Personal/Groupware.php b/apps/settings/lib/Sections/Personal/Availability.php similarity index 87% rename from apps/settings/lib/Sections/Personal/Groupware.php rename to apps/settings/lib/Sections/Personal/Availability.php index 4c64e06cb3a70..c23b2c0a822d4 100644 --- a/apps/settings/lib/Sections/Personal/Groupware.php +++ b/apps/settings/lib/Sections/Personal/Availability.php @@ -27,7 +27,7 @@ use OCP\IURLGenerator; use OCP\Settings\IIconSection; -class Groupware implements IIconSection { +class Availability implements IIconSection { /** @var IL10N */ private $l; @@ -41,15 +41,15 @@ public function __construct(IL10N $l, IURLGenerator $urlGenerator) { } public function getIcon(): string { - return $this->urlGenerator->imagePath('core', 'places/contacts.svg'); + return $this->urlGenerator->imagePath('dav', 'schedule.svg'); } public function getID(): string { - return 'groupware'; + return 'availability'; } public function getName(): string { - return $this->l->t('Groupware'); + return $this->l->t('Availability'); } public function getPriority(): int {