Add ProjecFile and TaskFile models

This commit is contained in:
Frederic Guillot
2016-02-14 15:25:16 -05:00
parent fbb58e08d3
commit 8e25c875f2
30 changed files with 1223 additions and 563 deletions

View File

@@ -0,0 +1,11 @@
<?= $this->user->avatar($email, $author) ?>
<p class="activity-title">
<?= e('%s attached a new file to the task %s',
$this->e($author),
$this->url->link(t('#%d', $task['id']), 'task', 'show', array('task_id' => $task['id'], 'project_id' => $task['project_id']))
) ?>
</p>
<p class="activity-description">
<em><?= $this->e($file['name']) ?></em>
</p>