Skip to content
Snippets Groups Projects
Commit 23c75c64 authored by Jan Mach's avatar Jan Mach
Browse files

Fix: Added missing panel section headers to timeline statisc results.

(Redmine issue: #6308)
parent 41575609
No related branches found
No related tags found
No related merge requests found
......@@ -20,4 +20,4 @@ open-source project.
__author__ = "Jan Mach <jan.mach@cesnet.cz>"
__credits__ = "Pavel Kácha <pavel.kacha@cesnet.cz>, Andrea Kropáčová <andrea.kropacova@cesnet.cz>"
__version__ = "2.6.23"
__version__ = "2.6.24"
......@@ -650,17 +650,23 @@
{%- macro render_dashboard_nav(statistics, id_prefix, hide_sections = [], render_empty = False, active_first = False) %}
{%- set tmp = {'cntr': 0} %}
{%- for chsection in (
('abuses', _('abuses')),
('analyzers', _('analyzers')),
('asns', _('ASNs')),
('categories', _('categories')),
('category_sets', _('category sets')),
('countries', _('countries')),
('detectors', _('detectors')),
('detectorsws', _('detector software')),
('ips', _('IPs')),
('classes', _('classes')),
('severities', _('severities'))
('abuses', _('abuses')),
('analyzers', _('analyzers')),
('asns', _('ASNs')),
('categories', _('categories')),
('category_sets', _('category sets')),
('countries', _('countries')),
('detectors', _('detectors')),
('detectorsws', _('detector software')),
('detector_types'), _('detector tags')),
('ips', _('IPs')),
('source_ports', _('source ports')),
('target_ports', _('target ports')),
('protocols', _('protocols')),
('source_types', _('source types')),
('target_types', _('target types')),
('classes', _('classes')),
('severities', _('severities'))
) -%}
{%- if chsection[0] not in hide_sections %}
{%- if chsection[0] in statistics or render_empty %}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment