Skip to content

Commit 8a76041

Browse files
do not translate numbers in index stats
1 parent 1712e63 commit 8a76041

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

templates/Modules/index/index_stats.html.twig

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,8 @@
6868
<a class="{{ theme_link_secondary }}" href="{{ path('indices', {'status': row.title}) }}">{{ row.title|trans }}</a>
6969
{% elseif key in ['indices_by_health'] and is_granted('INDICES', 'global') %}
7070
<a class="{{ theme_link_secondary }}" href="{{ path('indices', {'health[]': row.title}) }}">{{ row.title|trans }}</a>
71+
{% elseif key in ['indices_by_primary_shards', 'indices_by_replicas'] %}
72+
{{ row.title }}
7173
{% else %}
7274
{{ row.title|trans }}
7375
{% endif %}

0 commit comments

Comments
 (0)