Skip to content

Commit

Permalink
change url for groupfolder apps on admin tab
Browse files Browse the repository at this point in the history
Signed-off-by: nabim777 <nabinalemagar019@gmail.com>
  • Loading branch information
nabim777 committed Mar 7, 2024
1 parent 4750c4a commit 4acc613
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/components/AdminSettings.vue
Original file line number Diff line number Diff line change
Expand Up @@ -617,11 +617,12 @@ export default {
}
},
projectFolderSetUpErrorMessageDescription(errorKey) {
const linkText = t('integration_openproject', 'from here')
const htmlLink = `<a class="link" href="https://apps.nextcloud.com/apps/groupfolders" target="_blank" title="${linkText}">${linkText}</a>`
const linkText = t('integration_openproject', 'download and enable it here')
const url = generateUrl('settings/apps/files/groupfolders')
const htmlLink = `<a class="link" href="${url}" target="_blank" title="${linkText}">${linkText}</a>`
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 automatic managed folders, {htmlLink}', { htmlLink }, null, { escape: false, sanitize: false })
default:
return this.errorHintForProjectFolderConfigAlreadyExists
}
Expand Down

0 comments on commit 4acc613

Please sign in to comment.