* [task#140898,done,1h,0h] Add manage project task relation btn.

This commit is contained in:
wangyuting
2025-04-14 10:41:30 +08:00
committed by 刘刚
parent 336c349d6e
commit b1d631fcfc
7 changed files with 21 additions and 0 deletions
+1
View File
@@ -54,6 +54,7 @@ if($app->rawModule == 'programplan')
))
),
btn(set::url($this->createLink('programplan', 'ajaxcustom')), set::icon('cog-outline'), $lang->settings, setClass('no-underline'), set::type('link'), set('data-toggle', 'modal'), set('data-size', 'sm')),
btn(set::url($this->createLink('programplan', 'relation', "projectID={$projectID}")), set::icon('list-alt'), $lang->programplan->setTaskRelation, setClass('no-underline'), set::type('link')),
(common::canModify('project', $project) && common::hasPriv('programplan', 'create') && empty($product->deleted)) ? btn(set::url($this->createLink('programplan', 'create', "projectID=$projectID")), set::icon('plus'), $lang->programplan->create, setClass('primary programplan-create-btn')) : null
);
}