diff --git a/module/kanban/control.php b/module/kanban/control.php
index c5605006db..68b493e551 100644
--- a/module/kanban/control.php
+++ b/module/kanban/control.php
@@ -867,6 +867,7 @@ class kanban extends control
$this->view->card = $card;
$this->view->actions = $this->action->getList('kanbancard', $cardID);
$this->view->users = $users;
+ $this->view->kanban = $kanban;
$this->display();
}
@@ -1317,6 +1318,9 @@ class kanban extends control
*/
public function viewArchivedCard($regionID)
{
+ $region = $this->kanban->getRegionByID($regionID);
+
+ $this->view->kanban = $this->kanban->getByID($region->kanban);
$this->view->cards = $this->kanban->getCardsByObject('region', $regionID, 1);
$this->view->users = $this->loadModel('user')->getPairs('noletter|nodeleted');
$this->view->userIdPairs = $this->user->getPairs('noletter|nodeleted|showid');
diff --git a/module/kanban/view/editcard.html.php b/module/kanban/view/editcard.html.php
index 22c6b4eb4a..1a39158fa1 100644
--- a/module/kanban/view/editcard.html.php
+++ b/module/kanban/view/editcard.html.php
@@ -71,7 +71,7 @@
- progress):?>
+ performable):?>
| kanbancard->progress;?> |
diff --git a/module/kanban/view/viewarchivedcard.html.php b/module/kanban/view/viewarchivedcard.html.php
index 0ab8484033..4ff0eedd40 100644
--- a/module/kanban/view/viewarchivedcard.html.php
+++ b/module/kanban/view/viewarchivedcard.html.php
@@ -25,6 +25,7 @@
[lang^='en'] #archivedCards .card-actions > .btn {width: 55px;}
#archivedCards .card-actions > .btn + .btn {margin-top: 10px;}
#archivedCards .info > .time {background-color: rgba(0, 0, 0, 0.15);}
+#archivedCards .info > .users {padding-right: 10px;}
#archivedCards .info > .users > span {display: inline-block; color: transparent; width: 2px; height: 2px; background-color: #8990a2; position:sticky; top: 3px; margin: 0 7px; border-radius: 50%; line-height: 32px;}
#archivedCards .info > .users > span:before {left: -4px; content: ''; display: block; position: absolute; width: 2px; height: 2px; background-color: #8990a2; top: 0px; border-radius: 50%;}
#archivedCards .info > .users > span:after {right: -4px; content: ''; display: block; position: absolute; width: 2px; height: 2px; background-color: #8990a2; top: 0px; border-radius: 50%;}
@@ -40,6 +41,8 @@
#archivedCards .card-item .has-color .info > .estimate,
#archivedCards .card-item .has-color .info > .label-light {color: #FFFFFF;}
#archivedCards .card-item .has-color .info > .label-pri {border-color: #FFFFFF;}
+#archivedCards .progress-box {width: 97%;}
+#performable {padding: 25px 10px !important;}
+ performable):?>
+
+
+ progress, 2) . ' %';?>
+
+
-
+ performable) echo "id='performable'";?>>
kanbancard->estimate;?>
estimate, 2) . ' ' . $lang->kanbancard->lblHour;?> |
|
- progress):?>
+ performable):?>
| kanbancard->progress;?> |
progress, 2) . ' %';?> |
diff --git a/module/productplan/model.php b/module/productplan/model.php
index 72554d9352..3f492c6dd2 100644
--- a/module/productplan/model.php
+++ b/module/productplan/model.php
@@ -449,7 +449,7 @@ class productplanModel extends model
$stories = $this->dao->select('*')->from(TABLE_STORY)->where("CONCAT(',', plan, ',')")->like("%,{$plan->parent},%")->fetchAll('id');
foreach($stories as $storyID => $story)
{
- $storyPlan = str_replace(",{$plan->parent},", ",$planID,", ",$storyPlan,");
+ $storyPlan = str_replace(",{$plan->parent},", ",$planID,", ",$story->plan,");
$storyPlan = trim($storyPlan, ',');
$this->dao->update(TABLE_STORY)->set('plan')->eq($storyPlan)->where('id')->eq($storyID)->exec();
diff --git a/module/story/view/view.html.php b/module/story/view/view.html.php
index 3d7bd87761..9d43318036 100644
--- a/module/story/view/view.html.php
+++ b/module/story/view/view.html.php
@@ -486,7 +486,7 @@
$class = isonlybody() ? 'showinonlybody' : 'iframe';
echo "" . html::a($this->createLink('task', 'view', "taskID=$task->id", '', true), $taskInfo, '', "class=$class data-width='80%'");
$execution = isset($story->executions[$task->execution]) ? $story->executions[$task->execution] : '';
- $execName = (isset($execution->type) and $execution->type == 'kanban' and isonlybody()) ? $executionName : html::a($this->createLink('execution', 'view', "executionID=$executionID"), $executionName, '', "class='text-muted'");
+ $execName = (isset($execution->type) and $execution->type == 'kanban' and isonlybody()) ? $executionName : html::a($this->createLink('execution', 'view', "executionID=$task->execution"), $executionName, '', "class='text-muted'");
echo $execName . '';
}
}