chg: [menus] Added `new` badge for over-correlating values

pull/8530/head
Sami Mokaddem 2022-08-04 13:33:00 +02:00
parent 762035dae4
commit 0e2648d481
No known key found for this signature in database
GPG Key ID: 164C473F627A06FA
3 changed files with 11 additions and 3 deletions

View File

@ -7186,7 +7186,7 @@ class Server extends AppModel
),
'Workflow_enable' => array(
'level' => 1,
'description' => __('Enable/disable workflow feature'),
'description' => __('Enable/disable workflow feature. [experimental]'),
'value' => false,
'test' => 'testBool',
'type' => 'boolean'

View File

@ -469,7 +469,11 @@
'requirement' => $isSiteAdmin
],
[
'text' => __('Over-correlating values'),
'html' => sprintf(
'<span style="display: flex;"><span>%s</span><span class="label label-info" style="margin-left: auto;">%s</span></span>',
__('Over-correlating values'),
__('new')
),
'url' => $baseurl . '/correlations/overCorrelations',
'requirement' => $isSiteAdmin
]

View File

@ -30,7 +30,11 @@
$data['children'][0]['children'][] = array(
'url' => $baseurl . '/servers/serverSettings/correlations',
'html' => __('Correlations'),
'html' => sprintf(
'<span style="display: flex;"><span>%s</span><span class="label label-info" style="margin-left: 0.5em;">%s</span></span>',
__('Correlations'),
__('new')
),
'active' => $active_tab === 'correlations'
);