Attach {{ isBulkMode ? 'Files' : 'File' }} to Another Book

Move {{ isBulkMode ? 'these books\' files' : 'this book\'s file' }} to another book as alternative format{{ isBulkMode ? 's' : '' }}

Source Book{{ isBulkMode ? 's' : '' }} ({{ sourceBooks.length }})

@for (book of sourceBooks; track book.id) {
{{ book.metadata?.title || 'Unknown Title' }}
@if (book.metadata?.authors?.length) {
{{ book.metadata?.authors?.join(', ') }}
}
{{ getSourceFileInfo(book) }}
}

Select Target Book

{{ book.metadata?.title || 'Unknown Title' }}
@if (book.metadata?.authors?.length) {
{{ book.metadata.authors.join(', ') }}
} @if (book.primaryFile) {
{{ book.primaryFile.extension?.toUpperCase() || book.primaryFile.bookType }}
}
{{ getBookDisplayName(book) }}

This will move {{ isBulkMode ? 'the files from the selected books' : 'the file from the source book' }} to the target book as alternative format{{ isBulkMode ? 's' : '' }}.

@if (deleteSourceBooks) {

The source book{{ isBulkMode ? ' records' : ' record' }} will be deleted (file{{ isBulkMode ? 's' : '' }} will be preserved in target book).

} @else {

The source book{{ isBulkMode ? ' records' : ' record' }} will remain but will have no readable files.

}