From 0f0868f9322c712c53dac389ef746babeb76abb2 Mon Sep 17 00:00:00 2001 From: Martin Artnik Date: Tue, 24 Sep 2024 12:35:13 +0200 Subject: [PATCH] Add missing activities [SCI-11050] --- config/initializers/extends.rb | 5 +++-- config/locales/global_activities/en.yml | 2 ++ 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/config/initializers/extends.rb b/config/initializers/extends.rb index d8eb0ed43..22cfa49a1 100644 --- a/config/initializers/extends.rb +++ b/config/initializers/extends.rb @@ -515,7 +515,8 @@ class Extends container_storage_location_sharing_updated: 322, storage_location_repository_row_created: 323, storage_location_repository_row_deleted: 324, - storage_location_repository_row_moved: 325 + storage_location_repository_row_moved: 325, + container_storage_location_imported: 326 } ACTIVITY_GROUPS = { @@ -537,7 +538,7 @@ class Extends team: [92, 94, 93, 97, 104, 244, 245], label_templates: [*216..219], storage_locations: [*309..315], - container_storage_location: [*316..322], + container_storage_location: [*316..322, 326], storage_location_repository_rows: [*323..325] } diff --git a/config/locales/global_activities/en.yml b/config/locales/global_activities/en.yml index b0a85b35f..a34665149 100644 --- a/config/locales/global_activities/en.yml +++ b/config/locales/global_activities/en.yml @@ -339,6 +339,7 @@ en: storage_location_repository_row_created_html: "%{user} assigned %{repository_row} to box %{storage_location} %{position}." storage_location_repository_row_deleted_html: "%{user} unassigned %{repository_row} from box %{storage_location} %{position}." storage_location_repository_row_moved_html: "%{user} moved item %{repository_row} from box %{storage_location_original} %{positions} to box %{storage_location_destination} %{positions}." + container_storage_location_imported_html: "%{user} assigned %{assigned_count} item(s) and unassigned %{unassigned_count} item(s) by import to %{storage_location}." activity_name: create_project: "Project created" rename_project: "Project renamed" @@ -635,6 +636,7 @@ en: storage_location_repository_row_created: "Inventory item location assigned" storage_location_repository_row_deleted: "Inventory item location unassigned" storage_location_repository_row_moved: "Inventory item location moved" + container_storage_location_imported: "Box import" activity_group: projects: "Projects" task_results: "Task results"