summaryrefslogtreecommitdiff
path: root/app/Template/event/task_file_create.php
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2016-02-14 15:25:16 -0500
committerFrederic Guillot <fred@kanboard.net>2016-02-14 15:25:16 -0500
commit8e25c875f26b05e3138fb4d09d9f720456c09f76 (patch)
tree103921f8ba3734a7c524efd0ed0ab68d4f919a13 /app/Template/event/task_file_create.php
parentfbb58e08d3dbe0ec39f5d71d6aaa64528293bc71 (diff)
Add ProjecFile and TaskFile models
Diffstat (limited to 'app/Template/event/task_file_create.php')
-rw-r--r--app/Template/event/task_file_create.php11
1 files changed, 11 insertions, 0 deletions
diff --git a/app/Template/event/task_file_create.php b/app/Template/event/task_file_create.php
new file mode 100644
index 00000000..1a36bc8f
--- /dev/null
+++ b/app/Template/event/task_file_create.php
@@ -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> \ No newline at end of file