Update links on the board

This commit is contained in:
Frederic Guillot
2016-06-24 18:18:47 -04:00
parent 3e1a48113c
commit 16a138c86f
2 changed files with 3 additions and 3 deletions

View File

@@ -3,7 +3,7 @@
<span <span
<?php if ($this->user->hasProjectAccess('TaskModificationController', 'edit', $task['project_id'])): ?> <?php if ($this->user->hasProjectAccess('TaskModificationController', 'edit', $task['project_id'])): ?>
class="task-board-assignee task-board-change-assignee" class="task-board-assignee task-board-change-assignee"
data-url="<?= $this->url->href('TaskPopoverController', 'changeAssignee', array('task_id' => $task['id'], 'project_id' => $task['project_id'])) ?>"> data-url="<?= $this->url->href('TaskModificationController', 'edit', array('task_id' => $task['id'], 'project_id' => $task['project_id'])) ?>">
<?php else: ?> <?php else: ?>
class="task-board-assignee"> class="task-board-assignee">
<?php endif ?> <?php endif ?>

View File

@@ -6,8 +6,8 @@
<?php else: ?> <?php else: ?>
<?= $this->url->link( <?= $this->url->link(
$this->text->e($task['category_name']), $this->text->e($task['category_name']),
'TaskPopoverController', 'TaskModificationController',
'changeCategory', 'edit',
array('task_id' => $task['id'], 'project_id' => $task['project_id']), array('task_id' => $task['id'], 'project_id' => $task['project_id']),
false, false,
'popover' . (! empty($task['category_description']) ? ' tooltip' : ''), 'popover' . (! empty($task['category_description']) ? ' tooltip' : ''),