OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub
Ruby agile-developmentangularbcfboardsbug-trackerganttgantt-chartifcissue-trackerjira-alternativekanbanopenprojectproduct-managementproject-managementproject-planningroadmaprubyscrumtimelineworkflows
warn about file links removed when deleting a project storage
Christophe Bliarda6fe145b75d4
diff --git a/modules/storages/app/cells/storages/projects_storages_row_cell.rb b/modules/storages/app/cells/storages/projects_storages_row_cell.rbindex dd18dd0ca99..c5fd60cbaa2 100644--- a/modules/storages/app/cells/storages/projects_storages_row_cell.rb+++ b/modules/storages/app/cells/storages/projects_storages_row_cell.rb@@ -30,7 +30,7 @@ module Storageslink_to '',project_settings_projects_storage_path(project_id: model.project, id: model),class: 'icon icon-delete',- data: { confirm: I18n.t(:text_are_you_sure) },+ data: { confirm: I18n.t('storages.delete_warning.project_storage') },title: I18n.t(:button_delete),method: :deleteenddiff --git a/modules/storages/config/locales/en.yml b/modules/storages/config/locales/en.ymlindex ea4a781f496..7b767606bff 100644--- a/modules/storages/config/locales/en.yml+++ b/modules/storages/config/locales/en.yml@@ -40,6 +40,9 @@ en:storage: >Are you sure you want to delete this storage? This will also delete the storage from all projects where it is used.Further, it will also delete all links from work packages to files that are stored in that storage.+ project_storage: >+ Are you sure you want to remove this file storage from this project? This will also+ remove all links to files stored in this storage for this project.label_creator: "Creator"label_file_link: "File link"label_file_links: "File links"