summaryrefslogtreecommitdiff
path: root/app/Templates/task_show_description.php
diff options
context:
space:
mode:
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