From 8e25c875f26b05e3138fb4d09d9f720456c09f76 Mon Sep 17 00:00:00 2001 From: Frederic Guillot Date: Sun, 14 Feb 2016 15:25:16 -0500 Subject: Add ProjecFile and TaskFile models --- app/Template/event/file_create.php | 11 ----------- app/Template/event/task_file_create.php | 11 +++++++++++ app/Template/notification/file_create.php | 5 ----- app/Template/notification/task_file_create.php | 5 +++++ 4 files changed, 16 insertions(+), 16 deletions(-) delete mode 100644 app/Template/event/file_create.php create mode 100644 app/Template/event/task_file_create.php delete mode 100644 app/Template/notification/file_create.php create mode 100644 app/Template/notification/task_file_create.php (limited to 'app/Template') diff --git a/app/Template/event/file_create.php b/app/Template/event/file_create.php deleted file mode 100644 index 1a36bc8f..00000000 --- a/app/Template/event/file_create.php +++ /dev/null @@ -1,11 +0,0 @@ -user->avatar($email, $author) ?> - -

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

-

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

\ No newline at end of file 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 @@ +user->avatar($email, $author) ?> + +

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

+

+ e($file['name']) ?> +

\ No newline at end of file diff --git a/app/Template/notification/file_create.php b/app/Template/notification/file_create.php deleted file mode 100644 index 63f7d1b8..00000000 --- a/app/Template/notification/file_create.php +++ /dev/null @@ -1,5 +0,0 @@ -

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

- -

- -render('notification/footer', array('task' => $task, 'application_url' => $application_url)) ?> \ No newline at end of file diff --git a/app/Template/notification/task_file_create.php b/app/Template/notification/task_file_create.php new file mode 100644 index 00000000..63f7d1b8 --- /dev/null +++ b/app/Template/notification/task_file_create.php @@ -0,0 +1,5 @@ +

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

+ +

+ +render('notification/footer', array('task' => $task, 'application_url' => $application_url)) ?> \ No newline at end of file -- cgit v1.2.3