Add file attachements to projects

This commit is contained in:
Frederic Guillot
2016-02-16 21:12:43 -05:00
parent 5bbc903dca
commit 8936792f6f
20 changed files with 449 additions and 194 deletions

View File

@@ -0,0 +1,15 @@
<div class="page-header">
<h2><?= t('Remove a file') ?></h2>
</div>
<div class="confirm">
<p class="alert alert-info">
<?= t('Do you really want to remove this file: "%s"?', $this->e($file['name'])) ?>
</p>
<div class="form-actions">
<?= $this->url->link(t('Yes'), 'ProjectFile', 'remove', array('project_id' => $project['id'], 'file_id' => $file['id']), true, 'btn btn-red') ?>
<?= t('or') ?>
<?= $this->url->link(t('cancel'), 'ProjectOverview', 'show', array('project_id' => $project['id']), false, 'close-popover') ?>
</div>
</div>