Skip to content

Commit

Permalink
fix dashboard bug
Browse files Browse the repository at this point in the history
  • Loading branch information
antedebaas committed Oct 13, 2024
1 parent 1a3fc8d commit a6a557e
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions templates/dashboard/index.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -113,17 +113,18 @@
{% else %}
{% set sts_v_empty = sts_v_empty + 1 %}
{% endif %}

{% if policy.policystringmode == 'enforce' %}
{% set mode_enforce = mode_enforce + 1 %}
{% elseif policy.policystringmode == 'testing' %}
{% set mode_testing = mode_testing + 1 %}
{% else %}
{% set mode_disabled = mode_disabled + 1 %}
{% endif %}
{% endif %}
{% if policy.policytype == 'tlsa' %}
{% set tlsa = tlsa + 1 %}
{% endif %}
{% if policy.policystringmode == 'enforce' %}
{% set mode_enforce = mode_enforce + 1 %}
{% elseif policy.policystringmode == 'testing' %}
{% set mode_testing = mode_testing + 1 %}
{% else %}
{% set mode_disabled = mode_disabled + 1 %}
{% endif %}
{% endfor %}
<td>
{% if successfulcount > 0 %}<span class="badge bg-green me-1 text-white">{{ successfulcount }}</span>{% endif %}
Expand Down

0 comments on commit a6a557e

Please sign in to comment.