summaryrefslogtreecommitdiff
path: root/app/Templates/task_show_description.php
diff options
context:
space:
mode:
authorFrédéric Guillot <fred@kanboard.net>2014-09-08 23:19:40 +0200
committerFrédéric Guillot <fred@kanboard.net>2014-09-08 23:19:40 +0200
commite383c069f1aeba49ea9905f77a51bf663e614b0e (patch)
tree8164aa9e1fad104997e53c6e261bec991631dbbb /app/Templates/task_show_description.php
parent8c6df9ef0cea757d25cbbcc6fa7cee86d8739627 (diff)
Add public view for tasks
Diffstat (limited to 'app/Templates/task_show_description.php')
-rw-r--r--app/Templates/task_show_description.php11
1 files changed, 11 insertions, 0 deletions
diff --git a/app/Templates/task_show_description.php b/app/Templates/task_show_description.php
new file mode 100644
index 00000000..2d90137f
--- /dev/null
+++ b/app/Templates/task_show_description.php
@@ -0,0 +1,11 @@
+<?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">
+ <?= Helper\parse($task['description']) ?: t('There is no description.') ?>
+ </article>
+ </div>
+<?php endif ?> \ No newline at end of file