From 916128d515edc2ad52c56e4728c4db63b3dc7b56 Mon Sep 17 00:00:00 2001 From: wangyidong Date: Thu, 4 Apr 2019 10:39:18 +0800 Subject: [PATCH] * adjust for create task in modal. --- module/project/view/kanban.html.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/module/project/view/kanban.html.php b/module/project/view/kanban.html.php index b32a7f3ef3..5415663640 100644 --- a/module/project/view/kanban.html.php +++ b/module/project/view/kanban.html.php @@ -37,8 +37,8 @@ project = $projectID; - $misc = common::hasPriv('task', 'create', $checkObject) ? "class='btn btn-primary'" : "class='btn btn-primary disabled'"; - $link = common::hasPriv('task', 'create', $checkObject) ? $this->createLink('task', 'create', "project=$projectID" . (isset($moduleID) ? "&storyID=&moduleID=$moduleID" : '')) : '#'; + $misc = common::hasPriv('task', 'create', $checkObject) ? "class='btn btn-primary iframe' data-width='1200px'" : "class='btn btn-primary disabled'"; + $link = common::hasPriv('task', 'create', $checkObject) ? $this->createLink('task', 'create', "project=$projectID" . (isset($moduleID) ? "&storyID=&moduleID=$moduleID" : ''), '', true) : '#'; echo html::a($link, "" . $lang->task->create, '', $misc); ?>