* task #7126, add program create guide modal page.
This commit is contained in:
@@ -27,7 +27,7 @@ class program extends control
|
||||
{
|
||||
$this->commonAction();
|
||||
|
||||
if(common::hasPriv('program', 'create')) $this->lang->pageActions = html::a($this->createLink('program', 'create'), "<i class='icon icon-sm icon-plus'></i> " . $this->lang->program->create, '', "class='btn btn-primary'");
|
||||
if(common::hasPriv('program', 'create')) $this->lang->pageActions = html::a($this->createLink('program', 'createguide'), "<i class='icon icon-sm icon-plus'></i> " . $this->lang->program->create, '', "class='btn btn-primary' data-toggle='modal' data-type='ajax'");
|
||||
|
||||
$programType = $this->cookie->programType;
|
||||
|
||||
@@ -45,6 +45,11 @@ class program extends control
|
||||
$this->display();
|
||||
}
|
||||
|
||||
public function createGuide()
|
||||
{
|
||||
$this->display();
|
||||
}
|
||||
|
||||
public function create($type = 'scrum', $copyProgramID = '')
|
||||
{
|
||||
$this->commonAction();
|
||||
|
||||
Reference in New Issue
Block a user