mirror of https://github.com/MISP/MISP
chg: [menus] Added `new` badge for over-correlating values
parent
762035dae4
commit
0e2648d481
|
@ -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'
|
||||
|
|
|
@ -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
|
||||
]
|
||||
|
|
|
@ -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'
|
||||
);
|
||||
|
||||
|
|
Loading…
Reference in New Issue