From c6b9a2a92e60cb4488748d597a9df14c556236d3 Mon Sep 17 00:00:00 2001 From: Frédéric Guillot Date: Wed, 26 Nov 2014 20:43:08 -0500 Subject: Move event and notification templates to a subfolder --- app/Template/event/comment_create.php | 7 ++++ app/Template/event/comment_update.php | 6 +++ app/Template/event/subtask_create.php | 19 ++++++++++ app/Template/event/subtask_update.php | 19 ++++++++++ app/Template/event/task_assignee_change.php | 12 ++++++ app/Template/event/task_close.php | 6 +++ app/Template/event/task_create.php | 6 +++ app/Template/event/task_move_column.php | 6 +++ app/Template/event/task_move_position.php | 6 +++ app/Template/event/task_open.php | 6 +++ app/Template/event/task_update.php | 6 +++ app/Template/event_comment_create.php | 7 ---- app/Template/event_comment_update.php | 6 --- app/Template/event_subtask_create.php | 19 ---------- app/Template/event_subtask_update.php | 19 ---------- app/Template/event_task_assignee_change.php | 12 ------ app/Template/event_task_close.php | 6 --- app/Template/event_task_create.php | 6 --- app/Template/event_task_move_column.php | 6 --- app/Template/event_task_move_position.php | 6 --- app/Template/event_task_open.php | 6 --- app/Template/event_task_update.php | 6 --- app/Template/notification/comment_creation.php | 7 ++++ app/Template/notification/comment_update.php | 7 ++++ app/Template/notification/file_creation.php | 5 +++ app/Template/notification/footer.php | 6 +++ app/Template/notification/subtask_creation.php | 17 +++++++++ app/Template/notification/subtask_update.php | 21 +++++++++++ app/Template/notification/task_assignee_change.php | 20 ++++++++++ app/Template/notification/task_close.php | 5 +++ app/Template/notification/task_creation.php | 43 ++++++++++++++++++++++ app/Template/notification/task_due.php | 20 ++++++++++ app/Template/notification/task_move_column.php | 11 ++++++ app/Template/notification/task_move_position.php | 11 ++++++ app/Template/notification/task_open.php | 5 +++ app/Template/notification/task_update.php | 43 ++++++++++++++++++++++ app/Template/notification_comment_creation.php | 7 ---- app/Template/notification_comment_update.php | 7 ---- app/Template/notification_file_creation.php | 5 --- app/Template/notification_footer.php | 6 --- app/Template/notification_subtask_creation.php | 17 --------- app/Template/notification_subtask_update.php | 21 ----------- app/Template/notification_task_assignee_change.php | 20 ---------- app/Template/notification_task_close.php | 5 --- app/Template/notification_task_creation.php | 43 ---------------------- app/Template/notification_task_due.php | 20 ---------- app/Template/notification_task_move_column.php | 11 ------ app/Template/notification_task_move_position.php | 11 ------ app/Template/notification_task_open.php | 5 --- app/Template/notification_task_update.php | 43 ---------------------- app/Template/user_notifications.php | 15 +++++--- 51 files changed, 329 insertions(+), 326 deletions(-) create mode 100644 app/Template/event/comment_create.php create mode 100644 app/Template/event/comment_update.php create mode 100644 app/Template/event/subtask_create.php create mode 100644 app/Template/event/subtask_update.php create mode 100644 app/Template/event/task_assignee_change.php create mode 100644 app/Template/event/task_close.php create mode 100644 app/Template/event/task_create.php create mode 100644 app/Template/event/task_move_column.php create mode 100644 app/Template/event/task_move_position.php create mode 100644 app/Template/event/task_open.php create mode 100644 app/Template/event/task_update.php delete mode 100644 app/Template/event_comment_create.php delete mode 100644 app/Template/event_comment_update.php delete mode 100644 app/Template/event_subtask_create.php delete mode 100644 app/Template/event_subtask_update.php delete mode 100644 app/Template/event_task_assignee_change.php delete mode 100644 app/Template/event_task_close.php delete mode 100644 app/Template/event_task_create.php delete mode 100644 app/Template/event_task_move_column.php delete mode 100644 app/Template/event_task_move_position.php delete mode 100644 app/Template/event_task_open.php delete mode 100644 app/Template/event_task_update.php create mode 100644 app/Template/notification/comment_creation.php create mode 100644 app/Template/notification/comment_update.php create mode 100644 app/Template/notification/file_creation.php create mode 100644 app/Template/notification/footer.php create mode 100644 app/Template/notification/subtask_creation.php create mode 100644 app/Template/notification/subtask_update.php create mode 100644 app/Template/notification/task_assignee_change.php create mode 100644 app/Template/notification/task_close.php create mode 100644 app/Template/notification/task_creation.php create mode 100644 app/Template/notification/task_due.php create mode 100644 app/Template/notification/task_move_column.php create mode 100644 app/Template/notification/task_move_position.php create mode 100644 app/Template/notification/task_open.php create mode 100644 app/Template/notification/task_update.php delete mode 100644 app/Template/notification_comment_creation.php delete mode 100644 app/Template/notification_comment_update.php delete mode 100644 app/Template/notification_file_creation.php delete mode 100644 app/Template/notification_footer.php delete mode 100644 app/Template/notification_subtask_creation.php delete mode 100644 app/Template/notification_subtask_update.php delete mode 100644 app/Template/notification_task_assignee_change.php delete mode 100644 app/Template/notification_task_close.php delete mode 100644 app/Template/notification_task_creation.php delete mode 100644 app/Template/notification_task_due.php delete mode 100644 app/Template/notification_task_move_column.php delete mode 100644 app/Template/notification_task_move_position.php delete mode 100644 app/Template/notification_task_open.php delete mode 100644 app/Template/notification_task_update.php (limited to 'app/Template') diff --git a/app/Template/event/comment_create.php b/app/Template/event/comment_create.php new file mode 100644 index 00000000..d2f6f97b --- /dev/null +++ b/app/Template/event/comment_create.php @@ -0,0 +1,7 @@ +

+ #%d', Helper\escape($author), $task_id, $task_id) ?> +

+
+
+
+
\ No newline at end of file diff --git a/app/Template/event/comment_update.php b/app/Template/event/comment_update.php new file mode 100644 index 00000000..c0b43622 --- /dev/null +++ b/app/Template/event/comment_update.php @@ -0,0 +1,6 @@ +

+ #%d', Helper\escape($author), $task_id, $task_id) ?> +

+
+
+
\ No newline at end of file diff --git a/app/Template/event/subtask_create.php b/app/Template/event/subtask_create.php new file mode 100644 index 00000000..664e9da2 --- /dev/null +++ b/app/Template/event/subtask_create.php @@ -0,0 +1,19 @@ +

+ #%d', Helper\escape($author), $task_id, $task_id) ?> +

+
+

+ + +
\ No newline at end of file diff --git a/app/Template/event/subtask_update.php b/app/Template/event/subtask_update.php new file mode 100644 index 00000000..96a589dd --- /dev/null +++ b/app/Template/event/subtask_update.php @@ -0,0 +1,19 @@ +

+ #%d', Helper\escape($author), $task_id, $task_id) ?> +

+
+

+ + +
diff --git a/app/Template/event/task_assignee_change.php b/app/Template/event/task_assignee_change.php new file mode 100644 index 00000000..b346325e --- /dev/null +++ b/app/Template/event/task_assignee_change.php @@ -0,0 +1,12 @@ +

+ #%d to %s', + Helper\escape($author), + $task_id, + $task_id, + Helper\escape($task['assignee_name'] ?: $task['assignee_username']) + ) ?> +

+

+ +

\ No newline at end of file diff --git a/app/Template/event/task_close.php b/app/Template/event/task_close.php new file mode 100644 index 00000000..48d25678 --- /dev/null +++ b/app/Template/event/task_close.php @@ -0,0 +1,6 @@ +

+ #%d', Helper\escape($author), $task_id, $task_id) ?> +

+

+ +

\ No newline at end of file diff --git a/app/Template/event/task_create.php b/app/Template/event/task_create.php new file mode 100644 index 00000000..2515af05 --- /dev/null +++ b/app/Template/event/task_create.php @@ -0,0 +1,6 @@ +

+ #%d', Helper\escape($author), $task_id, $task_id) ?> +

+

+ +

\ No newline at end of file diff --git a/app/Template/event/task_move_column.php b/app/Template/event/task_move_column.php new file mode 100644 index 00000000..f2aac8f7 --- /dev/null +++ b/app/Template/event/task_move_column.php @@ -0,0 +1,6 @@ +

+ #%d to the column "%s"', Helper\escape($author), $task_id, $task_id, Helper\escape($task['column_title'])) ?> +

+

+ +

\ No newline at end of file diff --git a/app/Template/event/task_move_position.php b/app/Template/event/task_move_position.php new file mode 100644 index 00000000..26cdeb13 --- /dev/null +++ b/app/Template/event/task_move_position.php @@ -0,0 +1,6 @@ +

+ #%d to the position #%d in the column "%s"', Helper\escape($author), $task_id, $task_id, $task['position'], Helper\escape($task['column_title'])) ?> +

+

+ +

\ No newline at end of file diff --git a/app/Template/event/task_open.php b/app/Template/event/task_open.php new file mode 100644 index 00000000..9623be74 --- /dev/null +++ b/app/Template/event/task_open.php @@ -0,0 +1,6 @@ +

+ #%d', Helper\escape($author), $task_id, $task_id) ?> +

+

+ +

\ No newline at end of file diff --git a/app/Template/event/task_update.php b/app/Template/event/task_update.php new file mode 100644 index 00000000..a270b936 --- /dev/null +++ b/app/Template/event/task_update.php @@ -0,0 +1,6 @@ +

+ #%d', Helper\escape($author), $task_id, $task_id) ?> +

+

+ +

\ No newline at end of file diff --git a/app/Template/event_comment_create.php b/app/Template/event_comment_create.php deleted file mode 100644 index d2f6f97b..00000000 --- a/app/Template/event_comment_create.php +++ /dev/null @@ -1,7 +0,0 @@ -

- #%d', Helper\escape($author), $task_id, $task_id) ?> -

-
-
-
-
\ No newline at end of file diff --git a/app/Template/event_comment_update.php b/app/Template/event_comment_update.php deleted file mode 100644 index c0b43622..00000000 --- a/app/Template/event_comment_update.php +++ /dev/null @@ -1,6 +0,0 @@ -

- #%d', Helper\escape($author), $task_id, $task_id) ?> -

-
-
-
\ No newline at end of file diff --git a/app/Template/event_subtask_create.php b/app/Template/event_subtask_create.php deleted file mode 100644 index 664e9da2..00000000 --- a/app/Template/event_subtask_create.php +++ /dev/null @@ -1,19 +0,0 @@ -

- #%d', Helper\escape($author), $task_id, $task_id) ?> -

-
-

- - -
\ No newline at end of file diff --git a/app/Template/event_subtask_update.php b/app/Template/event_subtask_update.php deleted file mode 100644 index 96a589dd..00000000 --- a/app/Template/event_subtask_update.php +++ /dev/null @@ -1,19 +0,0 @@ -

- #%d', Helper\escape($author), $task_id, $task_id) ?> -

-
-

- - -
diff --git a/app/Template/event_task_assignee_change.php b/app/Template/event_task_assignee_change.php deleted file mode 100644 index b346325e..00000000 --- a/app/Template/event_task_assignee_change.php +++ /dev/null @@ -1,12 +0,0 @@ -

- #%d to %s', - Helper\escape($author), - $task_id, - $task_id, - Helper\escape($task['assignee_name'] ?: $task['assignee_username']) - ) ?> -

-

- -

\ No newline at end of file diff --git a/app/Template/event_task_close.php b/app/Template/event_task_close.php deleted file mode 100644 index 48d25678..00000000 --- a/app/Template/event_task_close.php +++ /dev/null @@ -1,6 +0,0 @@ -

- #%d', Helper\escape($author), $task_id, $task_id) ?> -

-

- -

\ No newline at end of file diff --git a/app/Template/event_task_create.php b/app/Template/event_task_create.php deleted file mode 100644 index 2515af05..00000000 --- a/app/Template/event_task_create.php +++ /dev/null @@ -1,6 +0,0 @@ -

- #%d', Helper\escape($author), $task_id, $task_id) ?> -

-

- -

\ No newline at end of file diff --git a/app/Template/event_task_move_column.php b/app/Template/event_task_move_column.php deleted file mode 100644 index f2aac8f7..00000000 --- a/app/Template/event_task_move_column.php +++ /dev/null @@ -1,6 +0,0 @@ -

- #%d to the column "%s"', Helper\escape($author), $task_id, $task_id, Helper\escape($task['column_title'])) ?> -

-

- -

\ No newline at end of file diff --git a/app/Template/event_task_move_position.php b/app/Template/event_task_move_position.php deleted file mode 100644 index 26cdeb13..00000000 --- a/app/Template/event_task_move_position.php +++ /dev/null @@ -1,6 +0,0 @@ -

- #%d to the position #%d in the column "%s"', Helper\escape($author), $task_id, $task_id, $task['position'], Helper\escape($task['column_title'])) ?> -

-

- -

\ No newline at end of file diff --git a/app/Template/event_task_open.php b/app/Template/event_task_open.php deleted file mode 100644 index 9623be74..00000000 --- a/app/Template/event_task_open.php +++ /dev/null @@ -1,6 +0,0 @@ -

- #%d', Helper\escape($author), $task_id, $task_id) ?> -

-

- -

\ No newline at end of file diff --git a/app/Template/event_task_update.php b/app/Template/event_task_update.php deleted file mode 100644 index a270b936..00000000 --- a/app/Template/event_task_update.php +++ /dev/null @@ -1,6 +0,0 @@ -

- #%d', Helper\escape($author), $task_id, $task_id) ?> -

-

- -

\ No newline at end of file diff --git a/app/Template/notification/comment_creation.php b/app/Template/notification/comment_creation.php new file mode 100644 index 00000000..52f82a92 --- /dev/null +++ b/app/Template/notification/comment_creation.php @@ -0,0 +1,7 @@ +

(#)

+ +

+ + + + $task, 'application_url' => $application_url)) ?> \ No newline at end of file diff --git a/app/Template/notification/comment_update.php b/app/Template/notification/comment_update.php new file mode 100644 index 00000000..8f613eb2 --- /dev/null +++ b/app/Template/notification/comment_update.php @@ -0,0 +1,7 @@ +

(#)

+ +

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

(#)

+ +

+ + $task, 'application_url' => $application_url)) ?> \ No newline at end of file diff --git a/app/Template/notification/footer.php b/app/Template/notification/footer.php new file mode 100644 index 00000000..67039e86 --- /dev/null +++ b/app/Template/notification/footer.php @@ -0,0 +1,6 @@ +
+Kanboard + + + - . + diff --git a/app/Template/notification/subtask_creation.php b/app/Template/notification/subtask_creation.php new file mode 100644 index 00000000..b264ef49 --- /dev/null +++ b/app/Template/notification/subtask_creation.php @@ -0,0 +1,17 @@ +

(#)

+ +

+ + + + $task, 'application_url' => $application_url)) ?> \ No newline at end of file diff --git a/app/Template/notification/subtask_update.php b/app/Template/notification/subtask_update.php new file mode 100644 index 00000000..08b7d97f --- /dev/null +++ b/app/Template/notification/subtask_update.php @@ -0,0 +1,21 @@ +

(#)

+ +

+ + + + $task, 'application_url' => $application_url)) ?> \ No newline at end of file diff --git a/app/Template/notification/task_assignee_change.php b/app/Template/notification/task_assignee_change.php new file mode 100644 index 00000000..14beef13 --- /dev/null +++ b/app/Template/notification/task_assignee_change.php @@ -0,0 +1,20 @@ +

(#)

+ + + + +

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

(#)

+ +

+ + $task, 'application_url' => $application_url)) ?> \ No newline at end of file diff --git a/app/Template/notification/task_creation.php b/app/Template/notification/task_creation.php new file mode 100644 index 00000000..99ebcbe5 --- /dev/null +++ b/app/Template/notification/task_creation.php @@ -0,0 +1,43 @@ +

(#)

+ + + + +

+ + + + $task, 'application_url' => $application_url)) ?> \ No newline at end of file diff --git a/app/Template/notification/task_due.php b/app/Template/notification/task_due.php new file mode 100644 index 00000000..c7ea010f --- /dev/null +++ b/app/Template/notification/task_due.php @@ -0,0 +1,20 @@ +

+ + + + $task)) ?> diff --git a/app/Template/notification/task_move_column.php b/app/Template/notification/task_move_column.php new file mode 100644 index 00000000..36f4daed --- /dev/null +++ b/app/Template/notification/task_move_column.php @@ -0,0 +1,11 @@ +

(#)

+ + + + $task, 'application_url' => $application_url)) ?> \ No newline at end of file diff --git a/app/Template/notification/task_move_position.php b/app/Template/notification/task_move_position.php new file mode 100644 index 00000000..36f4daed --- /dev/null +++ b/app/Template/notification/task_move_position.php @@ -0,0 +1,11 @@ +

(#)

+ + + + $task, 'application_url' => $application_url)) ?> \ No newline at end of file diff --git a/app/Template/notification/task_open.php b/app/Template/notification/task_open.php new file mode 100644 index 00000000..6ee10242 --- /dev/null +++ b/app/Template/notification/task_open.php @@ -0,0 +1,5 @@ +

(#)

+ +

+ + $task, 'application_url' => $application_url)) ?> \ No newline at end of file diff --git a/app/Template/notification/task_update.php b/app/Template/notification/task_update.php new file mode 100644 index 00000000..cbd6b2e1 --- /dev/null +++ b/app/Template/notification/task_update.php @@ -0,0 +1,43 @@ +

(#)

+ + + + +

+ + + + $task, 'application_url' => $application_url)) ?> \ No newline at end of file diff --git a/app/Template/notification_comment_creation.php b/app/Template/notification_comment_creation.php deleted file mode 100644 index 5b334d76..00000000 --- a/app/Template/notification_comment_creation.php +++ /dev/null @@ -1,7 +0,0 @@ -

(#)

- -

- - - - $task, 'application_url' => $application_url)) ?> \ No newline at end of file diff --git a/app/Template/notification_comment_update.php b/app/Template/notification_comment_update.php deleted file mode 100644 index 04aafb85..00000000 --- a/app/Template/notification_comment_update.php +++ /dev/null @@ -1,7 +0,0 @@ -

(#)

- -

- - - - $task, 'application_url' => $application_url)) ?> \ No newline at end of file diff --git a/app/Template/notification_file_creation.php b/app/Template/notification_file_creation.php deleted file mode 100644 index d8636820..00000000 --- a/app/Template/notification_file_creation.php +++ /dev/null @@ -1,5 +0,0 @@ -

(#)

- -

- - $task, 'application_url' => $application_url)) ?> \ No newline at end of file diff --git a/app/Template/notification_footer.php b/app/Template/notification_footer.php deleted file mode 100644 index 67039e86..00000000 --- a/app/Template/notification_footer.php +++ /dev/null @@ -1,6 +0,0 @@ -
-Kanboard - - - - . - diff --git a/app/Template/notification_subtask_creation.php b/app/Template/notification_subtask_creation.php deleted file mode 100644 index 2ddfc649..00000000 --- a/app/Template/notification_subtask_creation.php +++ /dev/null @@ -1,17 +0,0 @@ -

(#)

- -

- - - - $task, 'application_url' => $application_url)) ?> \ No newline at end of file diff --git a/app/Template/notification_subtask_update.php b/app/Template/notification_subtask_update.php deleted file mode 100644 index 999edbf9..00000000 --- a/app/Template/notification_subtask_update.php +++ /dev/null @@ -1,21 +0,0 @@ -

(#)

- -

- - - - $task, 'application_url' => $application_url)) ?> \ No newline at end of file diff --git a/app/Template/notification_task_assignee_change.php b/app/Template/notification_task_assignee_change.php deleted file mode 100644 index d23f769e..00000000 --- a/app/Template/notification_task_assignee_change.php +++ /dev/null @@ -1,20 +0,0 @@ -

(#)

- - - - -

- - - - $task, 'application_url' => $application_url)) ?> \ No newline at end of file diff --git a/app/Template/notification_task_close.php b/app/Template/notification_task_close.php deleted file mode 100644 index d56e71bb..00000000 --- a/app/Template/notification_task_close.php +++ /dev/null @@ -1,5 +0,0 @@ -

(#)

- -

- - $task, 'application_url' => $application_url)) ?> \ No newline at end of file diff --git a/app/Template/notification_task_creation.php b/app/Template/notification_task_creation.php deleted file mode 100644 index 1b555096..00000000 --- a/app/Template/notification_task_creation.php +++ /dev/null @@ -1,43 +0,0 @@ -

(#)

- - - - -

- - - - $task, 'application_url' => $application_url)) ?> \ No newline at end of file diff --git a/app/Template/notification_task_due.php b/app/Template/notification_task_due.php deleted file mode 100644 index a32a9efc..00000000 --- a/app/Template/notification_task_due.php +++ /dev/null @@ -1,20 +0,0 @@ -

- - - - $task)) ?> diff --git a/app/Template/notification_task_move_column.php b/app/Template/notification_task_move_column.php deleted file mode 100644 index c3f94df7..00000000 --- a/app/Template/notification_task_move_column.php +++ /dev/null @@ -1,11 +0,0 @@ -

(#)

- - - - $task, 'application_url' => $application_url)) ?> \ No newline at end of file diff --git a/app/Template/notification_task_move_position.php b/app/Template/notification_task_move_position.php deleted file mode 100644 index c3f94df7..00000000 --- a/app/Template/notification_task_move_position.php +++ /dev/null @@ -1,11 +0,0 @@ -

(#)

- - - - $task, 'application_url' => $application_url)) ?> \ No newline at end of file diff --git a/app/Template/notification_task_open.php b/app/Template/notification_task_open.php deleted file mode 100644 index 5d9f7d5b..00000000 --- a/app/Template/notification_task_open.php +++ /dev/null @@ -1,5 +0,0 @@ -

(#)

- -

- - $task, 'application_url' => $application_url)) ?> \ No newline at end of file diff --git a/app/Template/notification_task_update.php b/app/Template/notification_task_update.php deleted file mode 100644 index b3c07911..00000000 --- a/app/Template/notification_task_update.php +++ /dev/null @@ -1,43 +0,0 @@ -

(#)

- - - - -

- - - - $task, 'application_url' => $application_url)) ?> \ No newline at end of file diff --git a/app/Template/user_notifications.php b/app/Template/user_notifications.php index 13dd9809..4a32a41d 100644 --- a/app/Template/user_notifications.php +++ b/app/Template/user_notifications.php @@ -8,13 +8,16 @@
-



+ +



+ +
+ $project_name): ?> + + +
+ -
- $project_name): ?> - - -
-- cgit v1.2.3