* Finish task #5197.

This commit is contained in:
Yagami
2019-01-02 10:39:21 +08:00
parent 82ab82136f
commit 936c2157df
+5
View File
@@ -191,6 +191,11 @@ class testsuiteModel extends model
$link = helper::createLink('testsuite', 'createCase', $params);
$pageActions .= html::a($link, "<i class='icon-plus'></i>" . $this->lang->testcase->create, '', "class='btn btn-primary'");
}
if(common::hasPriv('testsuite', 'createLib'))
{
$link = helper::createLink('testsuite', 'createLib');
$pageActions .= html::a($link, "<i class='icon-plus'></i>" . $this->lang->testsuite->createLib, '', "class='btn btn-primary'");
}
}
}
$pageNav .= $selectHtml;