* Finish task#40511.

This commit is contained in:
qiyu-xie
2021-07-22 10:23:28 +08:00
parent 6cfa9a5878
commit 94ba06cf2a
2 changed files with 5 additions and 5 deletions

View File

@@ -28,7 +28,7 @@ class program extends control
*/
public function browse($status = 'all', $orderBy = 'order_asc')
{
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-secondary'");
if(common::hasPriv('program', 'create')) $this->lang->pageActions = html::a($this->createLink('program', 'create'), "<i class='icon icon-plus'></i>" . $this->lang->program->create, '', "class='btn btn-primary'");
$this->session->set('programList', $this->app->getURI(true), 'program');
$this->session->set('projectList', $this->app->getURI(true), 'project');