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); ?>