* [task#132855] adjust manage system btn.
This commit is contained in:
@@ -23,7 +23,7 @@ toolbar
|
||||
(
|
||||
array
|
||||
(
|
||||
'class' => 'ghost',
|
||||
'class' => 'primary',
|
||||
'text' => $lang->release->manageSystem,
|
||||
'url' => $this->createLink('system', 'browse', "productID=0&projectID={$projectID}"),
|
||||
'data-app' => 'project'
|
||||
|
||||
@@ -24,7 +24,7 @@ featureBar
|
||||
$canCreateRelease = hasPriv('release', 'create') && common::canModify('product', $product);
|
||||
$canManageSystem = hasPriv('system', 'browse') && common::canModify('product', $product);
|
||||
if($canCreateRelease) $createItem = array('icon' => 'plus', 'class' => 'primary', 'text' => $lang->release->create, 'url' => $this->createLink('release', 'create', "productID={$product->id}"));
|
||||
if($canManageSystem) $manageSystemItem = array('class' => 'ghost', 'text' => $lang->release->manageSystem, 'url' => $this->createLink('system', 'browse', "productID={$product->id}"), 'data-app' => 'product');
|
||||
if($canManageSystem) $manageSystemItem = array('class' => 'primary', 'text' => $lang->release->manageSystem, 'url' => $this->createLink('system', 'browse', "productID={$product->id}"), 'data-app' => 'product');
|
||||
toolbar
|
||||
(
|
||||
!empty($manageSystemItem) ? item(set($manageSystemItem)) : null,
|
||||
|
||||
@@ -12,7 +12,7 @@ $config->system->dtable->fieldList['id']['sortType'] = true;
|
||||
|
||||
$config->system->dtable->fieldList['name']['title'] = $lang->system->name;
|
||||
$config->system->dtable->fieldList['name']['name'] = 'name';
|
||||
$config->system->dtable->fieldList['name']['type'] = 'shortNestedTitle';
|
||||
$config->system->dtable->fieldList['name']['type'] = 'title';
|
||||
$config->system->dtable->fieldList['name']['flex'] = 4;
|
||||
$config->system->dtable->fieldList['name']['hint'] = true;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user