Show the task description only if not empty
This commit is contained in:
@@ -45,10 +45,12 @@
|
|||||||
</ul>
|
</ul>
|
||||||
</article>
|
</article>
|
||||||
|
|
||||||
<h3><?= t('Description') ?></h3>
|
<?php if ($task['description']): ?>
|
||||||
<article id="description">
|
<h3><?= t('Description') ?></h3>
|
||||||
<?= Helper\markdown($task['description']) ?: t('There is no description.') ?>
|
<article id="description">
|
||||||
</article>
|
<?= Helper\markdown($task['description']) ?: t('There is no description.') ?>
|
||||||
|
</article>
|
||||||
|
<?php endif ?>
|
||||||
|
|
||||||
</section>
|
</section>
|
||||||
</section>
|
</section>
|
||||||
Reference in New Issue
Block a user