summaryrefslogtreecommitdiff
path: root/app/Template
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2015-11-15 13:45:24 -0500
committerFrederic Guillot <fred@kanboard.net>2015-11-15 13:45:24 -0500
commit2011c3534401f8aa8b4e4b72f0a024e58ca85560 (patch)
tree23ea6118f0cff3e4455815d7dda295cbb96fea61 /app/Template
parent42b5b413bdd7b10c2f4143251333eb721543c879 (diff)
Add missing template for activity stream
Diffstat (limited to 'app/Template')
-rw-r--r--app/Template/event/file_create.php11
1 files changed, 11 insertions, 0 deletions
diff --git a/app/Template/event/file_create.php b/app/Template/event/file_create.php
new file mode 100644
index 00000000..1a36bc8f
--- /dev/null
+++ b/app/Template/event/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