<p class="activity-title">
    <?php if ($task['swimlane_id'] == 0): ?>
        <?= l('%s moved the task %s to the first swimlane',
                $this->url->link($author, 'Profile/ProfileController', 'show', ['user_id' => $author_username]),
                $this->url->link(t('#%d', $task['id']), 'Task/TaskController', 'show', ['task_id' => $task['id'], 'project_id' => $task['project_id']])
            ) ?>
    <?php else: ?>
        <?= l('%s moved the task %s to the swimlane "%s"',
                $this->url->link($author, 'Profile/ProfileController', 'show', ['user_id' => $author_username]),
                $this->url->link(t('#%d', $task['id']), 'Task/TaskController', 'show', ['task_id' => $task['id'], 'project_id' => $task['project_id']]),
                $this->text->e($task['swimlane_name'])
            ) ?>
    <?php endif ?>
    <small class="activity-date"><?= $this->dt->datetime($date_creation) ?></small>
</p>
<div class="activity-description">
    <p class="activity-task-title"><?= $this->text->e($task['title']) ?></p>
</div>
