summaryrefslogtreecommitdiff
path: root/app/Template/event/task_move_swimlane.php
blob: fe9bfb55b4f5cbb622de838f0d9220becb327b44 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
<p class="activity-title">
    <?php if ($task['swimlane_id'] == 0): ?>
        <?= e('%s moved the task %s to the first swimlane',
                $this->text->e($author),
                $this->url->link(t('#%d', $task['id']), 'TaskViewController', 'show', array('task_id' => $task['id'], 'project_id' => $task['project_id']))
            ) ?>
    <?php else: ?>
        <?= e('%s moved the task %s to the swimlane "%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($task['swimlane_name'])
            ) ?>
    <?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>