From 401b0bdfb10ebfe75c9a392de52d37cc3c22c062 Mon Sep 17 00:00:00 2001 From: Frederic Guillot Date: Sun, 19 Jul 2015 18:14:20 -0400 Subject: Split task controller into smaller classes --- app/Template/task/description.php | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 app/Template/task/description.php (limited to 'app/Template/task/description.php') diff --git a/app/Template/task/description.php b/app/Template/task/description.php new file mode 100644 index 00000000..f823e7d6 --- /dev/null +++ b/app/Template/task/description.php @@ -0,0 +1,33 @@ + +
+ + +
+ + text->markdown( + $task['description'], + array( + 'controller' => 'task', + 'action' => 'show', + 'params' => array( + 'project_id' => $task['project_id'] + ) + ) + ) ?> + + text->markdown( + $task['description'], + array( + 'controller' => 'task', + 'action' => 'readonly', + 'params' => array( + 'token' => $project['token'] + ) + ) + ) ?> + +
+
+ \ No newline at end of file -- cgit v1.2.3