mirror of https://github.com/MISP/MISP
new: [eventindex] clicking on sightings count redirect to the event with `sighting only` filter activated
parent
823078f834
commit
1186afe817
|
@ -172,9 +172,15 @@
|
|||
</td>
|
||||
<?php endif; ?>
|
||||
<?php if (Configure::read('MISP.showSightingsCountOnIndex')):?>
|
||||
<td class = "bold" style="width:30px;" ondblclick="location.href ='<?php echo $baseurl."/events/view/".$event['Event']['id'];?>'" title="<?php echo (!empty($event['Event']['sightings_count']) ? h($event['Event']['sightings_count']) : '0') . ' sighting(s)';?>">
|
||||
<?php echo !empty($event['Event']['sightings_count']) ? h($event['Event']['sightings_count']) : ''; ?>
|
||||
<td class = "bold" style="width:30px;">
|
||||
<?php if (!empty($event['Event']['sightings_count'])): ?>
|
||||
<a href="<?php echo $baseurl."/events/view/" . h($event['Event']['id']) . '/sighting:1';?>" title="<?php echo (!empty($event['Event']['sightings_count']) ? h($event['Event']['sightings_count']) : '0') . ' sighting(s). Show filtered event with sighting(s) only.';?>">
|
||||
<?php echo h($event['Event']['sightings_count']); ?>
|
||||
</a>
|
||||
<?php endif; ?>
|
||||
</td>
|
||||
|
||||
|
||||
<?php endif; ?>
|
||||
<?php if (Configure::read('MISP.showProposalsOnIndex')): ?>
|
||||
<td class = "bold" style="width:30px;" ondblclick="location.href ='<?php echo $baseurl."/events/view/".$event['Event']['id'];?>'" title="<?php echo (!empty($event['Event']['proposals_count']) ? h($event['Event']['proposals_count']) : '0') . __(' proposal(s)');?>">
|
||||
|
|
Loading…
Reference in New Issue