From 5fb686dd9c5474aba3e274bbe7917e8259aa27e3 Mon Sep 17 00:00:00 2001 From: Frédéric Guillot Date: Tue, 25 Nov 2014 21:28:29 -0500 Subject: Move comment templates to a subfolder --- app/Template/comment/create.php | 36 +++++++++++++++++++++++++++++++++ app/Template/comment/edit.php | 35 ++++++++++++++++++++++++++++++++ app/Template/comment/forbidden.php | 7 +++++++ app/Template/comment/remove.php | 17 ++++++++++++++++ app/Template/comment/show.php | 41 ++++++++++++++++++++++++++++++++++++++ 5 files changed, 136 insertions(+) create mode 100644 app/Template/comment/create.php create mode 100644 app/Template/comment/edit.php create mode 100644 app/Template/comment/forbidden.php create mode 100644 app/Template/comment/remove.php create mode 100644 app/Template/comment/show.php (limited to 'app/Template/comment') diff --git a/app/Template/comment/create.php b/app/Template/comment/create.php new file mode 100644 index 00000000..d72fa627 --- /dev/null +++ b/app/Template/comment/create.php @@ -0,0 +1,36 @@ + + +
+ + + + +
+
    +
  • + +
  • +
  • + +
  • +
+
+ +
+
+
+
+
+ +
+ +
+ + + + $task['id'])) ?> + +
+
diff --git a/app/Template/comment/edit.php b/app/Template/comment/edit.php new file mode 100644 index 00000000..386dd9b1 --- /dev/null +++ b/app/Template/comment/edit.php @@ -0,0 +1,35 @@ + + +
+ + + + + +
+
    +
  • + +
  • +
  • + +
  • +
+
+ +
+
+
+
+
+ +
+ +
+ + + $task['id'])) ?> +
+
diff --git a/app/Template/comment/forbidden.php b/app/Template/comment/forbidden.php new file mode 100644 index 00000000..1e306d45 --- /dev/null +++ b/app/Template/comment/forbidden.php @@ -0,0 +1,7 @@ + + +

+ +

\ No newline at end of file diff --git a/app/Template/comment/remove.php b/app/Template/comment/remove.php new file mode 100644 index 00000000..50382369 --- /dev/null +++ b/app/Template/comment/remove.php @@ -0,0 +1,17 @@ + + +
+

+ +

+ + $comment, 'task' => $task, 'preview' => true)) ?> + +
+ $task['id'], 'comment_id' => $comment['id']), true, 'btn btn-red') ?> + + $task['id'])) ?> +
+
\ No newline at end of file diff --git a/app/Template/comment/show.php b/app/Template/comment/show.php new file mode 100644 index 00000000..5e1e9337 --- /dev/null +++ b/app/Template/comment/show.php @@ -0,0 +1,41 @@ +
+ +

+ @ +

+ +
+ + +
    +
  • + +
  • + $task['id'], 'comment_id' => $comment['id'])) ?> +
  • +
  • + $task['id'], 'comment_id' => $comment['id'])) ?> +
  • + +
+ + +
+ + 'task', + 'action' => 'readonly', + 'params' => array( + 'token' => $project['token'] + ) + ) + ) ?> + + + +
+ +
+
\ No newline at end of file -- cgit v1.2.3