* [task#132855] adjust manage system btn.

This commit is contained in:
liyang
2024-11-27 16:18:30 +08:00
committed by 曹延义
parent 1a472d6c6d
commit ddbbcfd023
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -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'
+1 -1
View File
@@ -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,
+1 -1
View File
@@ -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;