summaryrefslogtreecommitdiff
path: root/app/Template/task/show_description.php
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2015-07-19 18:14:20 -0400
committerFrederic Guillot <fred@kanboard.net>2015-07-19 18:14:20 -0400
commit401b0bdfb10ebfe75c9a392de52d37cc3c22c062 (patch)
tree841bf69b8d404a29ab92692a9ebfb8d5a7e500e1 /app/Template/task/show_description.php
parentfcdd71af2cabdd1252172ac83a24be8672ca34cc (diff)
Split task controller into smaller classes
Diffstat (limited to 'app/Template/task/show_description.php')
-rw-r--r--app/Template/task/show_description.php33
1 files changed, 0 insertions, 33 deletions
diff --git a/app/Template/task/show_description.php b/app/Template/task/show_description.php
deleted file mode 100644
index f823e7d6..00000000
--- a/app/Template/task/show_description.php
+++ /dev/null
@@ -1,33 +0,0 @@
-<?php if (! empty($task['description'])): ?>
- <div id="description" class="task-show-section">
- <div class="page-header">
- <h2><?= t('Description') ?></h2>
- </div>
-
- <article class="markdown task-show-description">
- <?php if (! isset($is_public)): ?>
- <?= $this->text->markdown(
- $task['description'],
- array(
- 'controller' => 'task',
- 'action' => 'show',
- 'params' => array(
- 'project_id' => $task['project_id']
- )
- )
- ) ?>
- <?php else: ?>
- <?= $this->text->markdown(
- $task['description'],
- array(
- 'controller' => 'task',
- 'action' => 'readonly',
- 'params' => array(
- 'token' => $project['token']
- )
- )
- ) ?>
- <?php endif ?>
- </article>
- </div>
-<?php endif ?> \ No newline at end of file