file->getPreviewType($file['name']) !== null): ?>
-
= $this->url->link(t('View file'), 'FileViewerController', 'show', array('task_id' => $task['id'], 'project_id' => $task['project_id'], 'file_id' => $file['id']), false, 'popover') ?>
file->getBrowserViewType($file['name']) !== null): ?>
-
= $this->url->link(t('View file'), 'FileViewerController', 'browser', array('task_id' => $task['id'], 'project_id' => $task['project_id'], 'file_id' => $file['id']), false, '', '', true) ?>
-
= $this->url->link(t('Download'), 'FileViewerController', 'download', array('task_id' => $task['id'], 'project_id' => $task['project_id'], 'file_id' => $file['id'])) ?>
user->hasProjectAccess('TaskFileController', 'remove', $task['project_id'])): ?>
-
= $this->url->link(t('Remove'), 'TaskFileController', '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']) ?>
|