= I18N::translate('Media file') ?>
canEdit()) : ?>
= FontAwesome::linkIcon('edit', I18N::translate('Edit'), ['class' => 'btn btn-link', 'href' => '#', 'data-toggle' => 'modal', 'data-target' => '#wt-ajax-modal', 'data-href' => route('edit-media-file', ['ged' => $media->getTree()->getName(), 'xref' => $media->getXref(), 'fact_id' => $media_file->factId()])]) ?>
mediaFiles()) > 1) : ?>
= FontAwesome::linkIcon('delete', I18N::translate('Delete'), ['class' => 'btn btn-link', 'href' => '#', 'onclick' => 'return delete_fact("' . I18N::translate('Are you sure you want to delete this fact?') . '", "' . e($media->getTree()->getName()) . '", , "' . e($media->getXref()) . '", "' . $media_file->factId() . '");']) ?>
|
isExternal()) : ?>
= GedcomTag::getLabelValue('URL', $media_file->filename()) ?>
getTree())) : ?>
= GedcomTag::getLabelValue('FILE', $media_file->filename()) ?>
fileExists()) : ?>
getTree()->getPreference('SHOW_MEDIA_DOWNLOAD') >= Auth::accessLevel($media->getTree())) : ?>
—
= I18N::translate('Download file') ?>
isExternal()) : ?>
= I18N::translate('The file “%s” does not exist.', $media_file->filename()) ?> = GedcomTag::getLabelValue('TITL', $media_file->title()) ?> = GedcomTag::getLabelValue('TYPE', $media_file->type()) ?> = GedcomTag::getLabelValue('FORM', $media_file->format()) ?>
isExternal()) : ?>
= $media_file->displayImage(200, 150, 'contain', []) ?>
|
---|---|
= I18N::translate('Source') ?> | = I18N::translate('Add a source citation') ?> |
= I18N::translate('Shared note') ?> | = I18N::translate('Add a shared note') ?> |
= I18N::translate('Restriction') ?> | = I18N::translate('Add a restriction') ?> |
= I18N::translate('Media file') ?> | = I18N::translate('Add a media file') ?> |