mirror of https://github.com/MISP/MISP
chg: [view:ajaxTags] Added placeholder for highlighted taxonomies without a tag
parent
8a4ec0dc5e
commit
c92667ce1f
|
@ -75,6 +75,9 @@
|
|||
'tag_display_style' => 2
|
||||
]);
|
||||
}
|
||||
if (empty($hTags)) {
|
||||
$hTags = sprintf('<span class="grey">-%s-</span>', __('none'));
|
||||
}
|
||||
|
||||
$highlightedTagsString .= sprintf(
|
||||
'<tr><td style="font-weight: bold;text-transform: uppercase;">%s</td></td><td>%s</td><td>%s</td></tr>',
|
||||
|
|
Loading…
Reference in New Issue