Skip to content

Commit 0b957c0

Browse files
authored
IBX-6770: Fixed "All functions" policy spelling (#1635)
1 parent 48a9717 commit 0b957c0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/bundle/Resources/views/themes/admin/user/policy/list.html.twig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424

2525
{% set body_row_cols = body_row_cols|merge([
2626
{ content: policy.module == '*' ? ('role.policy.all_modules')|trans({}, 'forms')|desc('All modules') : ('role.policy.' ~ policy.module)|trans({}, 'forms') },
27-
{ content: policy.function == '*' ? ('role.policy.all_functions')|trans({}, 'forms')|desc('All functions') : policy.function|capitalize },
27+
{ content: policy.function|lower in ['*', 'all_functions'] ? ('role.policy.all_functions')|trans({}, 'forms')|desc('All functions') : policy.function|capitalize },
2828
]) %}
2929

3030
{% set col_raw %}

0 commit comments

Comments
 (0)