From 1b13308ce2a4bd31f0eec85ef787cd7f0f591317 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 | 5 ++++- 2 files changed, 5 insertions(+), 1 deletion(-) 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 7d7ea70bd..2654f9ec6 100644 --- a/src/components/AdminSettings.vue +++ b/src/components/AdminSettings.vue @@ -617,9 +617,12 @@ export default { } }, projectFolderSetUpErrorMessageDescription(errorKey) { + 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.') + 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 }