Remove method Category::getBoardCategories()
This commit is contained in:
@@ -9,8 +9,6 @@
|
||||
<?= $this->render('board/show', array(
|
||||
'project' => $project,
|
||||
'swimlanes' => $swimlanes,
|
||||
'categories_listing' => $categories_listing,
|
||||
'categories_description' => $categories_description,
|
||||
'board_private_refresh_interval' => $board_private_refresh_interval,
|
||||
'board_highlight_period' => $board_highlight_period,
|
||||
)) ?>
|
||||
|
||||
@@ -3,8 +3,6 @@
|
||||
<?= $this->render('board/show', array(
|
||||
'project' => $project,
|
||||
'swimlanes' => $swimlanes,
|
||||
'categories_listing' => $categories_listing,
|
||||
'categories_description' => $categories_description,
|
||||
'board_private_refresh_interval' => $board_private_refresh_interval,
|
||||
'board_highlight_period' => $board_highlight_period,
|
||||
'not_editable' => true,
|
||||
|
||||
@@ -21,8 +21,6 @@
|
||||
'project' => $project,
|
||||
'swimlane' => $swimlane,
|
||||
'board_highlight_period' => $board_highlight_period,
|
||||
'categories_listing' => $categories_listing,
|
||||
'categories_description' => $categories_description,
|
||||
'hide_swimlane' => count($swimlanes) === 1,
|
||||
'not_editable' => isset($not_editable),
|
||||
)) ?>
|
||||
|
||||
@@ -74,8 +74,6 @@
|
||||
<?= $this->render($not_editable ? 'board/task_public' : 'board/task_private', array(
|
||||
'project' => $project,
|
||||
'task' => $task,
|
||||
'categories_listing' => $categories_listing,
|
||||
'categories_description' => $categories_description,
|
||||
'board_highlight_period' => $board_highlight_period,
|
||||
'not_editable' => $not_editable,
|
||||
)) ?>
|
||||
|
||||
@@ -2,16 +2,16 @@
|
||||
<div class="task-board-category-container">
|
||||
<span class="task-board-category">
|
||||
<?php if ($not_editable): ?>
|
||||
<?= $this->text->in($task['category_id'], $categories_listing) ?>
|
||||
<?= $this->e($task['category_name']) ?>
|
||||
<?php else: ?>
|
||||
<?= $this->url->link(
|
||||
$this->text->in($task['category_id'], $categories_listing),
|
||||
$this->e($task['category_name']),
|
||||
'board',
|
||||
'changeCategory',
|
||||
array('task_id' => $task['id'], 'project_id' => $task['project_id']),
|
||||
false,
|
||||
'task-board-popover' . (isset($categories_description[$task['category_id']]) ? ' column-tooltip' : ''),
|
||||
isset($categories_description[$task['category_id']]) ? $this->text->markdown($categories_description[$task['category_id']]) : t('Change category')
|
||||
'task-board-popover' . (! empty($task['category_description']) ? ' column-tooltip' : ''),
|
||||
! empty($task['category_description']) ? $this->text->markdown($task['category_description']) : t('Change category')
|
||||
) ?>
|
||||
<?php endif ?>
|
||||
</span>
|
||||
|
||||
@@ -42,8 +42,6 @@
|
||||
|
||||
<?= $this->render('board/task_footer', array(
|
||||
'task' => $task,
|
||||
'categories_listing' => $categories_listing,
|
||||
'categories_description' => $categories_description,
|
||||
'not_editable' => $not_editable,
|
||||
)) ?>
|
||||
</div>
|
||||
|
||||
@@ -24,8 +24,6 @@
|
||||
|
||||
<?= $this->render('board/task_footer', array(
|
||||
'task' => $task,
|
||||
'categories_listing' => $categories_listing,
|
||||
'categories_description' => $categories_description,
|
||||
'not_editable' => $not_editable,
|
||||
)) ?>
|
||||
</div>
|
||||
@@ -16,7 +16,7 @@
|
||||
<?= $this->url->link(t('Edit project'), 'project', 'edit', array('project_id' => $project['id'])) ?>
|
||||
</li>
|
||||
<li>
|
||||
<?= $this->url->link(t('Edit board'), 'column', 'index', array('project_id' => $project['id'])) ?>
|
||||
<?= $this->url->link(t('Columns'), 'column', 'index', array('project_id' => $project['id'])) ?>
|
||||
</li>
|
||||
<li>
|
||||
<?= $this->url->link(t('Swimlanes'), 'swimlane', 'index', array('project_id' => $project['id'])) ?>
|
||||
|
||||
Reference in New Issue
Block a user