mirror of https://github.com/MISP/MISP
fix to a display bug on the event index when short tags are used
parent
2902c96f3c
commit
b6857b4743
|
@ -127,9 +127,9 @@
|
|||
<td style = "max-width: 200px;width:10px;">
|
||||
<?php foreach ($event['EventTag'] as $tag):
|
||||
$tagText = " ";
|
||||
if (Configure::read('MISP.full_tags_on_event_index')) $tagText = $tag['Tag']['name'];
|
||||
if (Configure::read('MISP.full_tags_on_event_index')) $tagText = h($tag['Tag']['name']);
|
||||
?>
|
||||
<span class=tag style="margin-bottom:3px;background-color:<?php echo h($tag['Tag']['colour']);?>;color:<?php echo $this->TextColour->getTextColour($tag['Tag']['colour']);?>;" title="<?php echo h($tag['Tag']['name']); ?>"><?php echo h($tagText); ?></span>
|
||||
<span class=tag style="margin-bottom:3px;background-color:<?php echo h($tag['Tag']['colour']);?>;color:<?php echo $this->TextColour->getTextColour($tag['Tag']['colour']);?>;" title="<?php echo h($tag['Tag']['name']); ?>"><?php echo $tagText; ?></span>
|
||||
<?php endforeach; ?>
|
||||
</td>
|
||||
<?php endif; ?>
|
||||
|
|
Loading…
Reference in New Issue