diff options
Diffstat (limited to 'templates/task_show.php')
-rw-r--r-- | templates/task_show.php | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/templates/task_show.php b/templates/task_show.php index e2789fca..99738f9c 100644 --- a/templates/task_show.php +++ b/templates/task_show.php @@ -45,10 +45,12 @@ </ul> </article> - <h3><?= t('Description') ?></h3> - <article id="description"> - <?= Helper\markdown($task['description']) ?: t('There is no description.') ?> - </article> + <?php if ($task['description']): ?> + <h3><?= t('Description') ?></h3> + <article id="description"> + <?= Helper\markdown($task['description']) ?: t('There is no description.') ?> + </article> + <?php endif ?> </section> </section>
\ No newline at end of file |