From cc81f9d4f5a9857e024829613ad670bc51056be5 Mon Sep 17 00:00:00 2001 From: Michael Date: Tue, 16 Oct 2018 01:39:42 +0100 Subject: Write log entry on file removal --- app/Template/event/task_file_destroy.php | 10 ++++++++++ app/Template/notification/task_file_destroy.php | 5 +++++ 2 files changed, 15 insertions(+) create mode 100755 app/Template/event/task_file_destroy.php create mode 100644 app/Template/notification/task_file_destroy.php (limited to 'app/Template') 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 @@ +

+ text->e($author), + $this->url->link(t('#%d', $task['id']), 'TaskViewController', 'show', array('task_id' => $task['id'], 'project_id' => $task['project_id'])) + ) ?> + dt->datetime($date_creation) ?> +

+
+

text->e($file['name']) ?>

+
diff --git a/app/Template/notification/task_file_destroy.php b/app/Template/notification/task_file_destroy.php new file mode 100644 index 00000000..dbd79c5e --- /dev/null +++ b/app/Template/notification/task_file_destroy.php @@ -0,0 +1,5 @@ +

text->e($task['title']) ?> (#)

+ +

+ +render('notification/footer', array('task' => $task)) ?> -- cgit v1.2.3