mirror of
https://github.com/YunoHost-Apps/kanboard_ynh.git
synced 2024-09-03 19:36:17 +02:00
17 lines
931 B
PHP
17 lines
931 B
PHP
<p class="activity-title">
|
|
<?php $assignee = $task['assignee_name'] ?: $task['assignee_username'] ?>
|
|
|
|
<?php if (! empty($assignee)): ?>
|
|
<?= e('%s changed the assignee of the task %s to %s',
|
|
$this->text->e($author),
|
|
$this->url->link(t('#%d', $task['id']), 'TaskViewController', 'show', array('task_id' => $task['id'], 'project_id' => $task['project_id'])),
|
|
$this->text->e($assignee)
|
|
) ?>
|
|
<?php else: ?>
|
|
<?= e('%s remove the assignee of the task %s', $this->text->e($author), $this->url->link(t('#%d', $task['id']), 'TaskViewController', 'show', array('task_id' => $task['id'], 'project_id' => $task['project_id']))) ?>
|
|
<?php endif ?>
|
|
<span class="activity-date"><?= $this->dt->datetime($date_creation) ?></span>
|
|
</p>
|
|
<div class="activity-description">
|
|
<p class="activity-task-title"><?= $this->text->e($task['title']) ?></p>
|
|
</div>
|