From a4f9043a344a6cf27257ce8d0a23467b4ca44ee4 Mon Sep 17 00:00:00 2001 From: mateuswetah Date: Mon, 12 Mar 2018 15:50:21 -0300 Subject: [PATCH] Small fix on FieldList label. --- src/admin/components/lists/fields-list.vue | 46 +++++++++++----------- src/admin/tainacan-admin-i18n.php | 2 +- 2 files changed, 23 insertions(+), 25 deletions(-) diff --git a/src/admin/components/lists/fields-list.vue b/src/admin/components/lists/fields-list.vue index 08d273758..90a7b428d 100644 --- a/src/admin/components/lists/fields-list.vue +++ b/src/admin/components/lists/fields-list.vue @@ -14,31 +14,29 @@ class="active-field-item" :class="{'not-sortable-item': field.id == undefined || openedFieldId == field.id, 'inherited-field': field.collection_id != collectionId}" v-for="(field, index) in activeFieldList" :key="index"> -
- - {{ field.name }} - {{ $i18n.get(field.field_type_object.component)}} - - {{ field.disabled ? $i18n.get('label_disabled') : $i18n.get('label_enabled') }} - - - - - - - -
- - - +
+ + {{ field.name }} + {{ $i18n.get(field.field_type_object.component)}} + + {{ field.disabled ? $i18n.get('label_disabled') : $i18n.get('label_enabled') }} + + + + + + +
- - + + + + diff --git a/src/admin/tainacan-admin-i18n.php b/src/admin/tainacan-admin-i18n.php index 56c23dbcf..644808f46 100644 --- a/src/admin/tainacan-admin-i18n.php +++ b/src/admin/tainacan-admin-i18n.php @@ -76,7 +76,7 @@ return [ 'label_items_per_page' => __('Items per Page:', 'tainacan'), 'label_active_fields' => __('Active Fields', 'tainacan'), 'label_available_fields' => __('Available Fields', 'tainacan'), - 'label_available_fields_types' => __('Available Field Types', 'tainacan'), + 'label_available_field_types' => __('Available Field Types', 'tainacan'), 'label_active_filters' => __('Active Filters', 'tainacan'), 'label_available_filters' => __('Available Filters', 'tainacan'), 'label_available_filter_types' => __('Available Filter Types', 'tainacan'),