chg: [UI] Related attributes count is clickable

pull/8317/head
Jakub Onderka 2022-04-30 17:33:44 +02:00
parent aaad2fad1d
commit 02ec87ca94
2 changed files with 7 additions and 1 deletions

View File

@ -22,7 +22,7 @@
<td style="padding-left: 2px;">
<time><?= h($related['date']); ?></time>
<?php if (isset($correlationCount)): ?>
<b onclick="setAttributeFilter('correlationId', <?= intval($related['id']) ?>)" style="margin-left: 5px; float: right; cursor: help;" title="<?= __n('This related event contains %s unique correlation. Click to show them.', 'This related event contains %s unique correlations. Click to show them.', $correlationCount, $correlationCount); ?>"><?= $correlationCount ?></b>
<b onclick="setAttributeFilter('correlationId', <?= intval($related['id']) ?>)" title="<?= __n('This related event contains %s unique correlation. Click to show them.', 'This related event contains %s unique correlations. Click to show them.', $correlationCount, $correlationCount); ?>"><?= $correlationCount ?></b>
<?php endif; ?>
</td>
</tr>

View File

@ -2815,6 +2815,12 @@ Query builder
max-width: 410px;
}
#event-correlations .event-correlation b {
margin-left: 5px;
float: right;
cursor: pointer;
}
#event-correlations .event-correlation time {
font-style: italic;
}