Merge branch 'master' of github.com:easysoft/zentaopms
This commit is contained in:
@@ -240,9 +240,9 @@ class block extends control
|
||||
}
|
||||
|
||||
$block->actionLink = '';
|
||||
if($block->block == 'overview' && common::hasPriv('product', 'create'))
|
||||
if($block->block == 'overview')
|
||||
{
|
||||
if($module == 'product' && common::hasPriv('product', 'create')) $block->actionLink = html::a($this->createLink('product', 'create'), "<i class='icon icon-plus'> </i>" . $this->lang->product->create, '', "class='btn'");
|
||||
if($module == 'product' && common::hasPriv('product', 'create')) $block->actionLink = html::a($this->createLink('product', 'create'), "<i class='icon icon-sm icon-plus'> </i>" . $this->lang->product->create, '', "class='btn btn-sm'");
|
||||
if($module == 'project' && common::hasPriv('project', 'create')) $block->actionLink = html::a($this->createLink('project', 'create'), "<i class='icon icon-sm icon-plus'> </i>" . $this->lang->project->create, '', "class='btn btn-sm'");
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user