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/event/subtask_create.php

22 lines
882 B
PHP
Raw Normal View History

2014-11-23 20:13:38 +01:00
<p class="activity-title">
2015-01-16 14:23:05 +01:00
<?= e('%s created a subtask for the task %s',
$this->e($author),
$this->a(t('#%d', $task['id']), 'task', 'show', array('task_id' => $task['id'], 'project_id' => $task['project_id']))
) ?>
2014-11-23 20:13:38 +01:00
</p>
<div class="activity-description">
2015-01-16 14:23:05 +01:00
<p><em><?= $this->e($task['title']) ?></em></p>
2014-11-23 20:13:38 +01:00
<ul>
<li>
2015-01-16 14:23:05 +01:00
<?= $this->e($subtask['title']) ?> (<strong><?= $this->e($subtask['status_name']) ?></strong>)
2014-11-23 20:13:38 +01:00
</li>
<li>
<?php if ($subtask['username']): ?>
<?= t('Assigned to %s with an estimate of %s/%sh', $subtask['name'] ?: $subtask['username'], $subtask['time_spent'], $subtask['time_estimated']) ?>
<?php else: ?>
<?= t('Not assigned, estimate of %sh', $subtask['time_estimated']) ?>
<?php endif ?>
</li>
</ul>
</div>