file->getPreviewType($file['name']) !== null): ?>
-
= $this->modal->large('eye', t('View file'), 'FileViewerController', 'show', array('project_id' => $project['id'], 'file_id' => $file['id'])) ?>
file->getBrowserViewType($file['name']) !== null): ?>
-
= $this->url->link(t('View file'), 'FileViewerController', 'browser', array('project_id' => $project['id'], 'file_id' => $file['id']), false, '', '', true) ?>
-
= $this->url->link(t('Download'), 'FileViewerController', 'download', array('project_id' => $project['id'], 'file_id' => $file['id'])) ?>
user->hasProjectAccess('ProjectFileController', 'remove', $project['id'])): ?>
-
= $this->modal->confirm('trash-o', t('Remove'), 'ProjectFileController', 'confirm', array('project_id' => $project['id'], 'file_id' => $file['id'])) ?>
|
= $this->text->e($file['user_name'] ?: $file['username']) ?>
|
= $this->dt->date($file['date']) ?>
|
= $this->text->bytes($file['size']) ?>
|