1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/kanboard_ynh.git synced 2024-09-03 19:36:17 +02:00
kanboard_ynh/sources/app/Template/task_show_description.php

24 lines
827 B
PHP
Raw Normal View History

2014-11-23 20:13:38 +01:00
<?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)): ?>
<?= Helper\markdown($task['description']) ?>
<?php else: ?>
<?= Helper\markdown(
$task['description'],
array(
'controller' => 'task',
'action' => 'readonly',
'params' => array(
'token' => $project['token']
)
)
) ?>
<?php endif ?>
</article>
</div>
<?php endif ?>