summaryrefslogtreecommitdiff
path: root/app/Template/event
diff options
context:
space:
mode:
authorMichael <michaelvickers.uk@gmail.com>2018-10-16 01:39:42 +0100
committerfguillot <fred@kanboard.net>2018-10-15 17:39:42 -0700
commitcc81f9d4f5a9857e024829613ad670bc51056be5 (patch)
treeff27bfd8ce38eb174e1598f90e60077dbeb39466 /app/Template/event
parent00228ac12fedaf436869289c7c114dc6f76dd14c (diff)
Write log entry on file removal
Diffstat (limited to 'app/Template/event')
-rwxr-xr-xapp/Template/event/task_file_destroy.php10
1 files changed, 10 insertions, 0 deletions
diff --git a/app/Template/event/task_file_destroy.php b/app/Template/event/task_file_destroy.php
new file mode 100755
index 00000000..cb21c42a
--- /dev/null
+++ b/app/Template/event/task_file_destroy.php
@@ -0,0 +1,10 @@
+<p class="activity-title">
+ <?= e('%s removed a file from the task %s',
+ $this->text->e($author),
+ $this->url->link(t('#%d', $task['id']), 'TaskViewController', 'show', array('task_id' => $task['id'], 'project_id' => $task['project_id']))
+ ) ?>
+ <small class="activity-date"><?= $this->dt->datetime($date_creation) ?></small>
+</p>
+<div class="activity-description">
+ <p class="activity-task-title"><?= $this->text->e($file['name']) ?></p>
+</div>