Skip to content

Commit 193e13f

Browse files
-
1 parent 1ef4c8b commit 193e13f

File tree

3 files changed

+5
-6
lines changed

3 files changed

+5
-6
lines changed

templates/Modules/index/index_list.html.twig

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{% embed 'Embed/table_embed.html.twig' %}
22
{% import 'Import/app_import.html.twig' as appImport %}
33

4-
{% set columns = {'name': true, 'primary_shards': true, 'replica_shards': true, 'documents': true, 'documents_deleted': false, 'primary_size': true, 'total_size': false, 'status': true, 'health': true, 'frozen': false, 'creation_date': true} %}
4+
{% set columns = {'name': true, 'primary_shards': true, 'replicas': true, 'documents': true, 'documents_deleted': false, 'primary_size': true, 'total_size': false, 'status': true, 'health': true, 'frozen': false, 'creation_date': true} %}
55

66
{% if true == hasFeature('freeze_unfreeze') %}
77
{% set columns = columns|merge({'frozen': true}) %}
@@ -25,9 +25,9 @@
2525
</th>
2626
{% endif %}
2727

28-
{% if 'replica_shards' == column %}
28+
{% if 'replicas' == column %}
2929
<th>
30-
{{ appImport.sort({'cat_sort': cat_sort, 'url': sortUrl, 'sort': 'rep', 'title': 'replica_shards'|trans})}}
30+
{{ appImport.sort({'cat_sort': cat_sort, 'url': sortUrl, 'sort': 'rep', 'title': 'replicas'|trans})}}
3131
</th>
3232
{% endif %}
3333

@@ -103,7 +103,7 @@
103103
</td>
104104
{% endif %}
105105

106-
{% if 'replica_shards' == column %}
106+
{% if 'replicas' == column %}
107107
<td>
108108
{{ row.replicaShards }}
109109
</td>

templates/Modules/index/index_read.html.twig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@
127127
<div class="row">
128128
{{ appImport.dashboardKpi({'title': 'primary_shards'|trans, 'badge': {'title': index.primaryShards}}) }}
129129

130-
{{ appImport.dashboardKpi({'title': 'replica_shards'|trans, 'badge': {'title': index.replicaShards}}) }}
130+
{{ appImport.dashboardKpi({'title': 'replicas'|trans, 'badge': {'title': index.replicaShards}}) }}
131131

132132
{{ appImport.dashboardKpi({'title': 'documents'|trans, 'badge': {'title': index.documents}}) }}
133133

translations/messages.en.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -486,7 +486,6 @@ rename_pattern: "Rename pattern"
486486
rename_replacement: "Rename replacement"
487487
replica_added: "Replica added"
488488
replica_after_primary_active: "Replica after primary active"
489-
replica_shards: "Replica shards"
490489
replicas: "Replicas"
491490
repository: "Repository"
492491
repository_fs: "Shared file system repository"

0 commit comments

Comments
 (0)