new: [UI] Add event ID to page table

With more tabs, navigation between tabs with different events can be pain, when all of them has the same title.
pull/5926/head
Jakub Onderka 2020-05-19 21:20:31 +02:00 committed by GitHub
parent 8037056eb4
commit e9dc6e36f4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -1602,6 +1602,7 @@ class EventsController extends AppController
$this->set('defaultFilteringRules', $this->defaultFilteringRules);
$this->set('mitreAttackGalaxyId', $this->Event->GalaxyCluster->Galaxy->getMitreAttackGalaxyId());
$this->set('modificationMapCSV', $modificationMapCSV);
$this->set('title_for_layout', __('Event #%s', $event['Event']['id']));
}
public function view($id = null, $continue=false, $fromEvent=null)