file->getPreviewType($file['name']) !== null): ?>
-
= $this->url->link(t('View file'), 'FileViewer', 'show', array('task_id' => $task['id'], 'project_id' => $task['project_id'], 'file_id' => $file['id']), false, 'popover') ?>
-
= $this->url->link(t('Download'), 'FileViewer', 'download', array('task_id' => $task['id'], 'project_id' => $task['project_id'], 'file_id' => $file['id'])) ?>
user->hasProjectAccess('TaskFile', 'remove', $task['project_id'])): ?>
-
= $this->url->link(t('Remove'), 'TaskFile', 'confirm', array('task_id' => $task['id'], 'project_id' => $task['project_id'], 'file_id' => $file['id']), false, 'popover') ?>
|
= $this->text->e($file['user_name'] ?: $file['username']) ?>
|
= $this->dt->date($file['date']) ?>
|
= $this->text->bytes($file['size']) ?>
|