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 ++++++ 11 files changed, 99 insertions(+) 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 (limited to 'app/Template/event') 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 -- cgit v1.2.3