From 625a9024303ba335ef7e98a496202d5c8069ad99 Mon Sep 17 00:00:00 2001 From: Nalem7 <61624650+nabim777@users.noreply.github.com> Date: Tue, 12 Mar 2024 12:18:22 +0545 Subject: [PATCH] change url for groupfolder apps on admin tab (#581) Signed-off-by: nabim777 --- CHANGELOG.md | 1 + src/components/AdminSettings.vue | 7 ++++--- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 5393981c8..19c116b40 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,7 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/) and this project adheres to [Semantic Versioning](http://semver.org/). ## [Unreleased] +- Add quick link for `group folder` app when not downloaded and enabled (project folder setup) ## 2.6.1 - 2024-02-19 ### Changed diff --git a/src/components/AdminSettings.vue b/src/components/AdminSettings.vue index 352a3daf4..2654f9ec6 100644 --- a/src/components/AdminSettings.vue +++ b/src/components/AdminSettings.vue @@ -617,11 +617,12 @@ export default { } }, projectFolderSetUpErrorMessageDescription(errorKey) { - const linkText = t('integration_openproject', 'from here') - const htmlLink = `${linkText}` + const linkText = t('integration_openproject', 'Download and enable it here') + const url = generateUrl('settings/apps/files/groupfolders') + const htmlLink = `${linkText}` switch (errorKey) { case 'The "Group folders" app is not installed' : - return t('integration_openproject', 'Please install the "Group folders" app to be able to use automatic managed folders or deactivate the automatically managed folders. You can download and install the "Group folders" app {htmlLink}.', { htmlLink }, null, { escape: false, sanitize: false }) + return t('integration_openproject', 'Please install the "Group folders" app to be able to use automatically managed folders, {htmlLink}', { htmlLink }, null, { escape: false, sanitize: false }) default: return this.errorHintForProjectFolderConfigAlreadyExists }