* Modify links in Project Kanban.

This commit is contained in:
xieqiyu
2021-09-08 13:42:35 +08:00
parent b47d2bdf31
commit 5d13c5119b
2 changed files with 6 additions and 6 deletions
+1 -1
View File
@@ -181,7 +181,7 @@ function renderExecutionItem(item, $item)
{
$item.addClass('link-block');
$title = $('<a class="title" />')
.attr('href', $.createLink('project', 'index', 'projectID=' + item._id));
.attr('href', $.createLink('execution', 'task', 'executionID=' + item._id));
}
else
{
+5 -5
View File
@@ -30,13 +30,13 @@
</div>
<?php
$kanbanColumns = array();
$kanbanColumns['waitProject'] = array('name' => $lang->project->waitProjects, 'type' => 'waitProject');
$kanbanColumns['doingProject'] = array('name' => $lang->project->doingProjects, 'type' => 'doingProject');
$kanbanColumns['doingExecution'] = array('name' => $lang->project->doingExecutions, 'type' => 'doingExecution');
$kanbanColumns['waitProject'] = array('name' => $lang->project->waitProjects, 'type' => 'waitProject');
$kanbanColumns['doingProject'] = array('name' => $lang->project->doingProjects, 'type' => 'doingProject');
$kanbanColumns['doingExecution'] = array('name' => $lang->project->doingExecutions, 'type' => 'doingExecution');
$kanbanColumns['closedProject'] = array('name' => $lang->project->closedProjects, 'type' => 'closedProject');
$userPrivs = array();
$userPrivs['project'] = common::hasPriv('project', 'index');
$userPrivs['execution'] = common::hasPriv('execution', 'task');
$userPrivs['project'] = common::hasPriv('project', 'index');
$userPrivs['execution'] = common::hasPriv('execution', 'task');
js::set('kanbanColumns', $kanbanColumns);
js::set('userPrivs', $userPrivs);
js::set('kanbanGroup', $kanbanGroup);