Skip to content

Commit bc36546

Browse files
committed
Merge branch '4.4' into 5.2
* 4.4: Add missing validators translation Improve usage of twig ternary skip test
2 parents bcee325 + 49a0906 commit bc36546

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Resources/views/Collector/security.html.twig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
{% block toolbar %}
66
{% if collector.token %}
77
{% set is_authenticated = collector.enabled and collector.authenticated %}
8-
{% set color_code = is_authenticated ? '' : 'yellow' %}
8+
{% set color_code = not is_authenticated ? 'yellow' %}
99
{% elseif collector.enabled %}
1010
{% set color_code = collector.authenticatorManagerEnabled ? 'yellow' : 'red' %}
1111
{% else %}

0 commit comments

Comments
 (0)