From ab2ab4e8f8233e82e567f1d60697f4cbb5fd3518 Mon Sep 17 00:00:00 2001 From: iglocska Date: Wed, 22 Feb 2023 00:37:34 +0100 Subject: [PATCH] chg: [organisations] nationality field renamed to country - UI display only so far - want to maintain alignment with MISP, might change in the future - filtering still calls it nationality - API still calls it nationality --- templates/Open/Organisations/index.php | 2 +- templates/Organisations/add.php | 1 + templates/Organisations/index.php | 2 +- templates/Organisations/view.php | 2 +- 4 files changed, 4 insertions(+), 3 deletions(-) diff --git a/templates/Open/Organisations/index.php b/templates/Open/Organisations/index.php index fa6fcab..18be544 100644 --- a/templates/Open/Organisations/index.php +++ b/templates/Open/Organisations/index.php @@ -57,7 +57,7 @@ echo $this->element('genericElements/IndexTable/index_table', [ 'data_path' => 'url', ], [ - 'name' => __('Nationality'), + 'name' => __('Country'), 'data_path' => 'nationality', ], [ diff --git a/templates/Organisations/add.php b/templates/Organisations/add.php index 72b9a9e..787f9a4 100644 --- a/templates/Organisations/add.php +++ b/templates/Organisations/add.php @@ -16,6 +16,7 @@ 'field' => 'url' ), array( + 'label' => __('Country'), 'field' => 'nationality' ), array( diff --git a/templates/Organisations/index.php b/templates/Organisations/index.php index 34e4a10..2347b04 100644 --- a/templates/Organisations/index.php +++ b/templates/Organisations/index.php @@ -66,7 +66,7 @@ echo $this->element('genericElements/IndexTable/index_table', [ 'data_path' => 'url', ], [ - 'name' => __('Nationality'), + 'name' => __('Country'), 'data_path' => 'nationality', 'sort' => 'nationality', ], diff --git a/templates/Organisations/view.php b/templates/Organisations/view.php index 8ffbef8..e393c6f 100644 --- a/templates/Organisations/view.php +++ b/templates/Organisations/view.php @@ -22,7 +22,7 @@ echo $this->element( 'path' => 'url' ], [ - 'key' => __('Nationality'), + 'key' => __('Country'), 'path' => 'nationality' ], [