0) ? __('Allegati presenti: {0}', $numberOfAttachments) : __('Nessun Allegato presente') ?>

controllable_object->modified))->wasWithinLast('5 minutes') ? "font-weight: bold;background-color:#f8d716" : ""; ?> '; if($attachment->private) { $htmlCode = ''; } ?>
Paginator->sort('Attachments.private', '', ['escape' => false]) ?>';?> Paginator->sort('Attachments.original_file_name', __('Nome')) ?> Paginator->sort('Attachments.relevant', '', ['escape' => false]) ?> Paginator->sort('Attachments.original_file_size', __('Dimensione')) ?> Paginator->sort('Attachments.mimetype', __('Tipo')) ?> Paginator->sort('Attachments.upload_date', __('Caricato il')) ?> Paginator->sort('Creator.surname', __('Da')) ?>
original_file_name) ?> relevant ? '' : '' ?> human_original_file_size) ?> mimetype) ?> upload_date) ?> controllable_object->creator) ?> Html->link(__('Visualizza'), ['controller' => 'attachments', 'action' => 'view', $attachment->file_name], ['target' => '_blank', 'class' => 'btn btn-info btn-xs', 'style' => 'margin-right: 5px;', 'data-mimetype' => $attachment->mimetype]); if (isset($removecurrentfiles) && $removecurrentfiles == "true") { echo $this->Html->link(__('Segna da eliminare'), ['controller' => 'attachments', 'action' => 'markAsDeleted', $attachment->controllable_object_id], ['target' => '_blank', 'class' => 'btn btn-danger btn-xs', 'style' => 'margin-right: 5px;']); } else { echo $this->Html->link($attachment->relevant ? __('Segna come non rilevante') : __('Segna come rilevante'), ['controller' => 'attachments', 'action' => 'markAsRelevant', $attachment->file_name], ['id' => $attachment->controllable_object_id, 'target' => '_blank', 'class' => 'btn btn-warning btn-xs', 'style' => 'margin-right: 5px;']); } ?>