file->getPreviewType($file['name']) !== null): ?>
-
= $this->modal->large('eye', t('View file'), 'FileViewerController', 'show', array('task_id' => $task['id'], 'project_id' => $task['project_id'], 'file_id' => $file['id'])) ?>
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->modal->confirm('trash-o', t('Remove'), 'TaskFileController', 'confirm', array('task_id' => $task['id'], 'project_id' => $task['project_id'], 'file_id' => $file['id'])) ?>
|
= $this->text->e($file['user_name'] ?: $file['username']) ?>
|
= $this->dt->date($file['date']) ?>
|
= $this->text->bytes($file['size']) ?>
|