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

Fix: Fixed refactoring gone wrong in CSAG group names.

Names of the context action search groups in Jinja2 macro were changed to match the actual values. After previous refactoring this was missed and the result was, that the context search select boxes were empty.
parent 6aabc96a
No related branches found
No related tags found
No related merge requests found
......@@ -515,7 +515,7 @@
{%- macro render_widget_csag_abuse(item_list, mark_list = None, align_right = False, separate_dropdown = False, without_label = False) %}
{{
_render_widget_csag(
'abuse',
'abuses',
item_list,
mark_list,
align_right,
......@@ -528,7 +528,7 @@
{%- macro render_widget_csag_address(item_list, mark_list = None, align_right = False, separate_dropdown = False, without_label = False, item_limit = 0) %}
{{
_render_widget_csag(
'address',
'ips',
item_list,
mark_list,
align_right,
......@@ -545,7 +545,7 @@
{%- macro render_widget_csag_category(item_list, mark_list = None, align_right = False, separate_dropdown = False, without_label = False) %}
{{
_render_widget_csag(
'category',
'categories',
item_list,
mark_list,
align_right,
......@@ -558,7 +558,7 @@
{%- macro render_widget_csag_class(item_list, mark_list = None, align_right = False, separate_dropdown = False, without_label = False) %}
{{
_render_widget_csag(
'class',
'classes',
item_list,
mark_list,
align_right,
......@@ -571,7 +571,7 @@
{%- macro render_widget_csag_detector(item_list, mark_list = None, align_right = False, separate_dropdown = False, without_label = False) %}
{{
_render_widget_csag(
'detector',
'detectors',
item_list,
mark_list,
align_right,
......@@ -584,7 +584,7 @@
{%- macro render_widget_csag_detectortype(item_list, mark_list = None, align_right = False, separate_dropdown = False, without_label = False) %}
{{
_render_widget_csag(
'detector_type',
'detector_types',
item_list,
mark_list,
align_right,
......@@ -597,7 +597,7 @@
{%- macro render_widget_csag_hosttype(item_list, mark_list = None, align_right = False, separate_dropdown = False, without_label = False) %}
{{
_render_widget_csag(
'host_type',
'host_types',
item_list,
mark_list,
align_right,
......@@ -610,7 +610,7 @@
{%- macro render_widget_csag_port(item_list, mark_list = None, align_right = False, separate_dropdown = False, without_label = False, item_limit = 0) %}
{{
_render_widget_csag(
'port',
'ports',
item_list,
mark_list,
align_right,
......@@ -627,7 +627,7 @@
{%- macro render_widget_csag_protocol(item_list, mark_list = None, align_right = False, separate_dropdown = False, without_label = False, item_limit = 0) %}
{{
_render_widget_csag(
'protocol',
'protocols',
item_list,
mark_list,
align_right,
......@@ -678,7 +678,7 @@
<li class="dropdown-header">
{{ _('Context search actions:') }}
</li>
{%- for csag_item in get_csag('severity') %}
{%- for csag_item in get_csag('severities') %}
{%- if check_endpoint_exists(csag_item.view.get_view_endpoint()) %}
<li>
<a href="{{ url_for(csag_item.view.get_view_endpoint(), **csag_item.params.get_params(subitem)) }}">
......
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