From 26b3c62ab804d0ee03815e772ba02e22274bc89c Mon Sep 17 00:00:00 2001 From: snipe Date: Wed, 21 Aug 2024 10:29:51 +0100 Subject: [PATCH 1/2] Cleaned up category title Signed-off-by: snipe --- resources/lang/en-US/general.php | 1 - resources/views/categories/view.blade.php | 19 ++++++++++++++++--- 2 files changed, 16 insertions(+), 4 deletions(-) diff --git a/resources/lang/en-US/general.php b/resources/lang/en-US/general.php index 7634387906..a60f0dedfd 100644 --- a/resources/lang/en-US/general.php +++ b/resources/lang/en-US/general.php @@ -559,7 +559,6 @@ return [ 'expires' => 'Expires', 'map_fields'=> 'Map :item_type Field', 'remaining_var' => ':count Remaining', - 'assets_in_var' => 'Assets in :name :type', 'label' => 'Label', 'import_asset_tag_exists' => 'An asset with the asset tag :asset_tag already exists and an update was not requested. No change was made.', diff --git a/resources/views/categories/view.blade.php b/resources/views/categories/view.blade.php index 72a02bf922..6ee7f8e38c 100644 --- a/resources/views/categories/view.blade.php +++ b/resources/views/categories/view.blade.php @@ -3,7 +3,7 @@ {{-- Page title --}} @section('title') -{{ trans('general.assets_in_var', ['name'=> $category->name, 'type' => trans('general.category')]) }} +{{ $category->name }} @parent @stop @@ -36,7 +36,19 @@