Skip to content

Commit

Permalink
rules: fix wording when disabling rule with flowbit
Browse files Browse the repository at this point in the history
  • Loading branch information
regit committed Mar 13, 2018
1 parent c298b78 commit 9698b9f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rules/templates/rules/disable_rule.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ <h4>Enable rule {{ rule.sid }} in ruleset(s)</h4>

{% for ruleset in rulesets %}
{% if ruleset.deps_rules|length %}
In ruleset <strong>{{ ruleset.name }}</strong>, this will also {% if operation == 'suppress' %}disable{% else %}enable{% endif %} the following rules due to flowbits dependencies:
In ruleset <strong>{{ ruleset.name }}</strong>, this will also {% if operation == 'disable' %}disable{% else %}enable{% endif %} the following rules due to flowbits dependencies:
<ul>
{% for rule in ruleset.deps_rules %}
<li><a href="{% url 'rule' rule.pk %}">{{ rule.msg }}</a></li>
Expand Down

0 comments on commit 9698b9f

Please sign in to comment.