diff --git a/module/my/view/todo.html.php b/module/my/view/todo.html.php index abc42a3cd8..bb4718f2b2 100644 --- a/module/my/view/todo.html.php +++ b/module/my/view/todo.html.php @@ -108,7 +108,6 @@ { $actionLink = $this->createLink('todo', 'batchEdit', "from=myTodo&type=$type&account=$account&status=$status"); echo html::commonButton($lang->edit, "onclick=\"setFormAction('$actionLink')\""); - } if(common::hasPriv('todo', 'batchFinish')) { diff --git a/module/productplan/css/browse.css b/module/productplan/css/browse.css index 76ae760baf..0927356ef6 100644 --- a/module/productplan/css/browse.css +++ b/module/productplan/css/browse.css @@ -1,4 +1,3 @@ -#productplan tbody > tr > td{border-right:1px solid #E4E4E4;} .table td .article-content {padding: 0} .table td .article-content *{margin:0px;} .table td .article-content ol,.table td .article-content ul{padding-left:20px;} diff --git a/module/productplan/view/browse.html.php b/module/productplan/view/browse.html.php index db9c272f1b..4befa7b176 100644 --- a/module/productplan/view/browse.html.php +++ b/module/productplan/view/browse.html.php @@ -16,98 +16,120 @@
- id&branch=$branch", '', 'button', 'plus');?>
-
id&branch=$branch")?>'> - - - recTotal}&recPerPage={$pager->recPerPage}"; ?> - - - - session->currentProductType != 'normal'):?> - + - - - - - - - - - - - loadModel('file'));?> - - file->replaceImgURL($plan, 'desc');?> - - - - session->currentProductType != 'normal'):?> - - - - - - - - - - + + + +
idAB);?> productplan->title);?>product->branch);?> productplan->stories;?> productplan->bugs;?> productplan->hour;?> productplan->project;?> productplan->desc;?>productplan->begin);?>productplan->end);?>actions;?>
- - id;?> - id"), $plan->title);?>branch];?>stories;?>bugs;?>hour;?>projectID)) echo html::a(helper::createLink('project', 'task', 'projectID=' . $plan->projectID), '');?>
desc;?>
begin;?>end == '2030-01-01' ? $lang->productplan->future : $plan->end;?> - id"), '', '', "class='btn-icon' title='{$lang->project->create}'"); - if(common::hasPriv('productplan', 'linkStory')) echo html::a(inlink('view', "planID=$plan->id&type=story&orderBy=id_desc&link=true"), '', '', "class='btn-icon' title='{$lang->productplan->linkStory}'"); - if(common::hasPriv('productplan', 'linkBug') and $config->global->flow != 'onlyStory') echo html::a(inlink('view', "planID=$plan->id&type=bug&orderBy=id_desc&link=true"), '', '', "class='btn-icon' title='{$lang->productplan->linkBug}'"); - common::printIcon('productplan', 'edit', "planID=$plan->id", $plan, 'list'); + moduleName, $this->methodName) as $menuItem):?> + hidden)) continue;?> + {$menuItem->text}";?> + name == $browseType ? 'btn-active-text' : '';?> + inlink('browse', "productID=$productID&branch=$branch&browseType={$menuItem->name}"), $label, '', "class='btn btn-link $active' id='{$menuItem->name}'");?> + + +
+ id&branch=$branch", '', 'button', 'plus', '', 'btn-primary');?> +
+ +
+ id&branch=$branch")?>'> + + + recTotal}&recPerPage={$pager->recPerPage}"; ?> + + + + session->currentProductType != 'normal'):?> + + + + + + + + + + + + + + loadModel('file');?> + + file->replaceImgURL($plan, 'desc');?> + + + + session->currentProductType != 'normal'):?> + + + + + + + + + + - - - - - - - - -
+ +
+ +
+ + idAB);?> +
productplan->title);?>product->branch);?> productplan->stories;?> productplan->bugs;?> productplan->hour;?> productplan->project;?> productplan->desc;?>productplan->begin);?>productplan->end);?>actions;?>
+
+ + + + + id?> +
+
id"), $plan->title);?>branch];?>stories;?>bugs;?>hour;?>projectID)) echo html::a(helper::createLink('project', 'task', 'projectID=' . $plan->projectID), '');?>
desc;?>
begin;?>end == '2030-01-01' ? $lang->productplan->future : $plan->end;?> + id"), '', '', "class='btn btn-icon' title='{$lang->project->create}'"); + if(common::hasPriv('productplan', 'linkStory')) echo html::a(inlink('view', "planID=$plan->id&type=story&orderBy=id_desc&link=true"), '', '', "class='btn btn-icon' title='{$lang->productplan->linkStory}'"); + if(common::hasPriv('productplan', 'linkBug') and $config->global->flow != 'onlyStory') echo html::a(inlink('view', "planID=$plan->id&type=bug&orderBy=id_desc&link=true"), '', '', "class='btn btn-icon' title='{$lang->productplan->linkBug}'"); + common::printIcon('productplan', 'edit', "planID=$plan->id", $plan, 'list'); - if(common::hasPriv('productplan', 'delete', $plan)) - { - $deleteURL = $this->createLink('productplan', 'delete', "planID=$plan->id&confirm=yes"); - echo html::a("javascript:ajaxDelete(\"$deleteURL\",\"productplan\",confirmDelete)", '', '', "class='btn-icon' title='{$lang->productplan->delete}'"); - } - ?> -
'> -
- - edit);?> -
- show();?> -
- + if(common::hasPriv('productplan', 'delete', $plan)) + { + $deleteURL = $this->createLink('productplan', 'delete', "planID=$plan->id&confirm=yes"); + echo html::a("javascript:ajaxDelete(\"$deleteURL\",\"productplan\",confirmDelete)", '', '', "class='btn btn-icon' title='{$lang->productplan->delete}'"); + } + ?> +
+ + + + +