diff --git a/resources/lang/en/entities.php b/resources/lang/en/entities.php index 7a6930546..4e4bbccd3 100644 --- a/resources/lang/en/entities.php +++ b/resources/lang/en/entities.php @@ -336,4 +336,12 @@ return [ 'revision_restore_confirm' => 'Are you sure you want to restore this revision? The current page contents will be replaced.', 'revision_delete_success' => 'Revision deleted', 'revision_cannot_delete_latest' => 'Cannot delete the latest revision.', + + // Copy view + 'copy_consider' => 'Please consider the below when copying content.', + 'copy_consider_permissions' => 'Custom permission settings will not be copied.', + 'copy_consider_owner' => 'You will become the owner of all copied content.', + 'copy_consider_images' => 'Page image files will not be duplicated & the original images will retain their relation to the page they were originally uploaded to.', + 'copy_consider_attachments' => 'Page attachments will not be copied.', + 'copy_consider_access' => 'A change of location, owner or permissions may result in this content being accessible to those previously without access.', ]; diff --git a/resources/views/books/copy.blade.php b/resources/views/books/copy.blade.php index 4f01f55e2..293397a97 100644 --- a/resources/views/books/copy.blade.php +++ b/resources/views/books/copy.blade.php @@ -26,6 +26,8 @@ @include('form.text', ['name' => 'name']) + @include('entities.copy-considerations') +
{{ trans('common.cancel') }} diff --git a/resources/views/chapters/copy.blade.php b/resources/views/chapters/copy.blade.php index dc4f87458..3fd5de1ff 100644 --- a/resources/views/chapters/copy.blade.php +++ b/resources/views/chapters/copy.blade.php @@ -36,6 +36,8 @@
+ @include('entities.copy-considerations') +
{{ trans('common.cancel') }} diff --git a/resources/views/entities/copy-considerations.blade.php b/resources/views/entities/copy-considerations.blade.php new file mode 100644 index 000000000..6fe50ef98 --- /dev/null +++ b/resources/views/entities/copy-considerations.blade.php @@ -0,0 +1,15 @@ +

+ @icon('warning') {{ trans('entities.copy_consider') }} +

+ +
+ + +
\ No newline at end of file diff --git a/resources/views/pages/copy.blade.php b/resources/views/pages/copy.blade.php index 2f24d8165..9f249863a 100644 --- a/resources/views/pages/copy.blade.php +++ b/resources/views/pages/copy.blade.php @@ -37,6 +37,8 @@
+ @include('entities.copy-considerations') +
{{ trans('common.cancel') }}