$clipboard_facts * @var Media $record * @var Tree $tree */ ?>
= I18N::translate('Media file') ?> canEdit() && !$media_file->isPendingDeletion()) : ?> |
isExternal()) : ?>
= Registry::elementFactory()->make('OBJE:FILE')->labelValue($media_file->filename(), $record->tree()) ?>
tree())) :?>
fileExists()) : ?>
= I18N::translate('The file ā%sā does not exist.', e($media_file->filename())) ?> = Registry::elementFactory()->make('OBJE:FILE')->labelValue($media_file->filename(), $record->tree()) ?> = Registry::elementFactory()->make('OBJE:FILE:TITL')->labelValue($media_file->title(), $record->tree()) ?> = Registry::elementFactory()->make('OBJE:FILE:FORM:TYPE')->labelValue($media_file->type(), $record->tree()) ?> = Registry::elementFactory()->make('OBJE:FILE:FORM')->labelValue($media_file->format(), $record->tree()) ?>
isExternal()) : ?>
mimeType())[0] === 'audio') : ?>
mimeType())[0] === 'video') : ?>
= $media_file->displayImage(200, 150, 'contain', []) ?>
tree()->getPreference('SHOW_MEDIA_DOWNLOAD') >= Auth::accessLevel($record->tree()) && $media_file->fileExists()) : ?>
= I18N::translate('Download file') ?> |
---|