= 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->tree()->name(), 'xref' => $media->xref(), '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->tree()->name()) . '", , "' . e($media->xref()) . '", "' . $media_file->factId() . '");']) ?>
|
isExternal()) : ?>
= GedcomTag::getLabelValue('URL', $media_file->filename()) ?>
tree())) : ?>
= GedcomTag::getLabelValue('FILE', $media_file->filename()) ?>
fileExists()) : ?>
tree()->getPreference('SHOW_MEDIA_DOWNLOAD') >= Auth::accessLevel($media->tree())) : ?>
—
= 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') ?> |