From ddbbcfd02362bc099b09e4ddc108c5787a5ead2a Mon Sep 17 00:00:00 2001 From: liyang Date: Wed, 27 Nov 2024 15:13:41 +0800 Subject: [PATCH] * [task#132855] adjust manage system btn. --- module/projectrelease/ui/browse.html.php | 2 +- module/release/ui/browse.html.php | 2 +- module/system/config/dtable.php | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/module/projectrelease/ui/browse.html.php b/module/projectrelease/ui/browse.html.php index 67a159a6e9..ab8197a6f1 100644 --- a/module/projectrelease/ui/browse.html.php +++ b/module/projectrelease/ui/browse.html.php @@ -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' diff --git a/module/release/ui/browse.html.php b/module/release/ui/browse.html.php index d286654056..ac0033020a 100644 --- a/module/release/ui/browse.html.php +++ b/module/release/ui/browse.html.php @@ -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, diff --git a/module/system/config/dtable.php b/module/system/config/dtable.php index eba7b5299c..a375eb4f3f 100644 --- a/module/system/config/dtable.php +++ b/module/system/config/dtable.php @@ -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;