* [bug#49934] Add the label of feedback for feedback module.
This commit is contained in:
@@ -57,7 +57,7 @@ class treeEditor extends wg
|
||||
$canSplit = $this->prop('canSplit');
|
||||
$editType = $this->prop('type');
|
||||
$selected = $this->prop('selected');
|
||||
$typeList = array('task' => 'T', 'bug' => 'B', 'case' => 'C');
|
||||
$typeList = array('task' => 'T', 'bug' => 'B', 'case' => 'C', 'feedback' => 'F', 'ticket' => 'T');
|
||||
$viewType = data('viewType') ? data('viewType') : '';
|
||||
$sortTree = $this->prop('sortable') || $this->prop('onSort');
|
||||
|
||||
|
||||
@@ -249,9 +249,7 @@ div
|
||||
set::title($manageTitle),
|
||||
to::headingActions
|
||||
(
|
||||
($viewType == 'story' && $allProduct && $canBeChanged) ? btn(setClass('primary'), set::size('sm'), $lang->tree->syncFromProduct, on::click('toggleCopy')) : null,
|
||||
($viewType == 'feedback' && common::hasPriv('feedback', 'syncProduct') && !isset($syncConfig[$rootID])) ? btn(setClass('primary'), set::size('sm'), set::url(createLink('feedback', 'syncProduct', "productID=$rootID&module=feedback&parent=$parent")), setData('toggle', 'modal'), $lang->tree->syncProductModule) : null,
|
||||
($viewType == 'ticket' && common::hasPriv('ticket', 'syncProduct') && !isset($syncConfig[$rootID])) ? btn(setClass('primary'), set::size('sm'), set::url(createLink('ticket', 'syncProduct', "productID=$rootID&parent=$parent")), setData('toggle', 'modal'), $lang->tree->syncProductModule) : null
|
||||
($viewType == 'story' && $allProduct && $canBeChanged) ? btn(setClass('primary'), set::size('sm'), $lang->tree->syncFromProduct, on::click('toggleCopy')) : null
|
||||
),
|
||||
div
|
||||
(
|
||||
|
||||
Reference in New Issue
Block a user