A free open source IT asset/license management system
More help text updates
snipe408f9978e935
diff --git a/resources/lang/en/admin/accessories/general.php b/resources/lang/en/admin/accessories/general.phpindex 22771aff0c..e9a2e69ff6 100644--- a/resources/lang/en/admin/accessories/general.php+++ b/resources/lang/en/admin/accessories/general.php@@ -1,8 +1,6 @@<?phpreturn array(- 'about_accessories_title' => 'About Accessories',- 'about_accessories_text' => 'Accessories are anything you issue to users but that do not have a serial number (or you do not care about tracking them uniquely). For example, computer mice or keyboards.','accessory_category' => 'Accessory Category','accessory_name' => 'Accessory Name','checkout' => 'Checkout Accessory',diff --git a/resources/lang/en/admin/categories/general.php b/resources/lang/en/admin/categories/general.phpindex 7551fefffd..7741b7da62 100644--- a/resources/lang/en/admin/categories/general.php+++ b/resources/lang/en/admin/categories/general.php@@ -1,8 +1,6 @@<?phpreturn array(- 'about_categories_title' => 'About Categories',- 'about_categories' => 'Categories help you organize your items. Some example categories might be "Desktops", "Laptops", "Mobile Phones", "Tablets", and so on, but you can use categories any way that makes sense for you.','asset_categories' => 'Asset Categories','category_name' => 'Category Name','checkin_email' => 'Send email to user on checkin/checkout.',diff --git a/resources/lang/en/admin/companies/general.php b/resources/lang/en/admin/companies/general.phpindex 9a47968977..9d58ccb58e 100644--- a/resources/lang/en/admin/companies/general.php+++ b/resources/lang/en/admin/companies/general.php@@ -1,6 +1,4 @@<?phpreturn [- 'about_companies_title' => 'About Companies',- 'about_companies_text' => 'Companies can be used as a simple identifier field, or can be used to limit visibility of assets, users, etc if full company support is enabled in your Admin settings.','select_company' => 'Select Company',];diff --git a/resources/lang/en/admin/components/general.php b/resources/lang/en/admin/components/general.phpindex 75c9d250ab..f7689a7ad1 100644--- a/resources/lang/en/admin/components/general.php+++ b/resources/lang/en/admin/components/general.php@@ -1,8 +1,6 @@<?phpreturn array(- 'about_components_title' => 'About Components',- 'about_components_text' => 'Components are items that are part of an asset, for example HDD, RAM, etc.','component_name' => 'Component Name','checkin' => 'Checkin Component','checkout' => 'Checkout Component',diff --git a/resources/lang/en/admin/consumables/general.php b/resources/lang/en/admin/consumables/general.phpindex 53a69f8c03..7c6bb32968 100644--- a/resources/lang/en/admin/consumables/general.php+++ b/resources/lang/en/admin/consumables/general.php@@ -1,8 +1,6 @@<?phpreturn array(- 'about_consumables_title' => 'About Consumables',- 'about_consumables_text' => 'Consumables are anything purchased that will be used up over time. For example, printer ink or copier paper.','checkout' => 'Checkout Consumable to User','consumable_name' => 'Consumable Name','create' => 'Create Consumable',diff --git a/resources/lang/en/admin/hardware/general.php b/resources/lang/en/admin/hardware/general.phpindex f1fcd4731e..e3afc7d2f1 100644--- a/resources/lang/en/admin/hardware/general.php+++ b/resources/lang/en/admin/hardware/general.php@@ -1,9 +1,7 @@<?phpreturn array(- 'about_assets_title' => 'About Assets',- 'about_assets_text' => 'Assets are items tracked by serial number or asset tag. They tend to be higher value items where identifying a specific item matters.',- 'archived' => 'Archived',+ 'archived' => 'Archived','asset' => 'Asset','bulk_checkout' => 'Checkout Assets','checkin' => 'Checkin Asset',diff --git a/resources/lang/en/help.php b/resources/lang/en/help.phpindex 4fbbaea5d6..4cb2354f89 100644--- a/resources/lang/en/help.php+++ b/resources/lang/en/help.php@@ -15,8 +15,22 @@ return array("more_info_title" => "More Info",-"audit_help" => "Checking this box will edit the asset record to reflect this new location. Leaving it unchecked will simply note the location in the audit log.<br><br>Note that is this asset is checked out, it will not change the location of the person, asset or location it is checked out to.",+ 'assets' => 'Assets are items tracked by serial number or asset tag. They tend to be higher value items where identifying a specific item matters.',++ 'categories' => 'Categories help you organize your items. Some example categories might be "Desktops", "Laptops", "Mobile Phones", "Tablets", and so on, but you can use categories any way that makes sense for you.',++ 'accessories' => 'Accessories are anything you issue to users but that do not have a serial number (or you do not care about tracking them uniquely). For example, computer mice or keyboards.',++ 'companies' => 'Companies can be used as a simple identifier field, or can be used to limit visibility of assets, users, etc if full company support is enabled in your Admin settings.',++ 'components' => 'Components are items that are part of an asset, for example HDD, RAM, etc.',++ 'consumables' => 'Consumables are anything purchased that will be used up over time. For example, printer ink or copier paper.',++ 'depreciations' => 'You can set up asset depreciations to depreciate assets based on straight-line depreciation.',++);diff --git a/resources/views/accessories/edit.blade.php b/resources/views/accessories/edit.blade.phpindex 9148c8b139..d92d06d2fb 100755--- a/resources/views/accessories/edit.blade.php+++ b/resources/views/accessories/edit.blade.php@@ -1,8 +1,8 @@@extends('layouts/edit-form', ['createText' => trans('admin/accessories/general.create') ,'updateText' => trans('admin/accessories/general.update'),- 'helpTitle' => trans('admin/accessories/general.about_accessories_title'),- 'helpText' => trans('admin/accessories/general.about_accessories_text'),+ 'helpPosition' => 'right',+ 'helpText' => trans('help.accessories'),'formAction' => ($item) ? route('accessories.update', ['accessory' => $item->id]) : route('accessories.store'),])diff --git a/resources/views/categories/edit.blade.php b/resources/views/categories/edit.blade.phpindex ca43c49bb8..c70c1f9cd9 100755--- a/resources/views/categories/edit.blade.php+++ b/resources/views/categories/edit.blade.php@@ -1,8 +1,8 @@@extends('layouts/edit-form', ['createText' => trans('admin/categories/general.create') ,'updateText' => trans('admin/categories/general.update'),- 'helpTitle' => trans('admin/categories/general.about_categories_title'),- 'helpText' => trans('admin/categories/general.about_categories'),+ 'helpPosition' => 'right',+ 'helpText' => trans('help.categories'),'formAction' => ($item) ? route('categories.update', ['category' => $item->id]) : route('categories.store'),])diff --git a/resources/views/companies/edit.blade.php b/resources/views/companies/edit.blade.phpindex ee77efc4f5..2181f39a0b 100644--- a/resources/views/companies/edit.blade.php+++ b/resources/views/companies/edit.blade.php@@ -1,8 +1,8 @@@extends('layouts/edit-form', ['createText' => trans('admin/companies/table.create') ,'updateText' => trans('admin/companies/table.update'),- 'helpTitle' => trans('admin/companies/general.about_companies_title'),- 'helpText' => trans('admin/companies/general.about_companies_text'),+ 'helpPosition' => 'right',+ 'helpText' => trans('help.companies'),'formAction' => ($item) ? route('companies.update', ['company' => $item->id]) : route('companies.store'),])diff --git a/resources/views/components/edit.blade.php b/resources/views/components/edit.blade.phpindex 9bfdf6a433..14f5a0a232 100644--- a/resources/views/components/edit.blade.php+++ b/resources/views/components/edit.blade.php@@ -1,8 +1,8 @@@extends('layouts/edit-form', ['createText' => trans('admin/components/general.create') ,'updateText' => trans('admin/components/general.update'),- 'helpTitle' => trans('admin/components/general.about_components_title'),- 'helpText' => trans('admin/components/general.about_components_text'),+ 'helpPosition' => 'right',+ 'helpText' => trans('help.components'),'formAction' => ($item) ? route('components.update', ['component' => $item->id]) : route('components.store'),])diff --git a/resources/views/consumables/edit.blade.php b/resources/views/consumables/edit.blade.phpindex 4392c1f1b4..d9cc270b73 100644--- a/resources/views/consumables/edit.blade.php+++ b/resources/views/consumables/edit.blade.php@@ -1,8 +1,8 @@@extends('layouts/edit-form', ['createText' => trans('admin/consumables/general.create') ,'updateText' => trans('admin/consumables/general.update'),- 'helpTitle' => trans('admin/consumables/general.about_consumables_title'),- 'helpText' => trans('admin/consumables/general.about_consumables_text'),+ 'helpPosition' => 'right',+ 'helpText' => trans('help.consumables'),'formAction' => ($item) ? route('consumables.update', ['accessory' => $item->id]) : route('consumables.store'),]){{-- Page content --}}diff --git a/resources/views/departments/edit.blade.php b/resources/views/departments/edit.blade.phpindex 4d3952528e..855f2397ad 100644--- a/resources/views/departments/edit.blade.php+++ b/resources/views/departments/edit.blade.php@@ -1,8 +1,6 @@@extends('layouts/edit-form', ['createText' => trans('admin/departments/table.create') ,'updateText' => trans('admin/departments/table.update'),- 'helpTitle' => trans('admin/departments/table.about_locations_title'),- 'helpText' => trans('admin/departments/table.about_locations'),'formAction' => ($item) ? route('departments.update', ['department' => $item->id]) : route('departments.store'),])diff --git a/resources/views/depreciations/edit.blade.php b/resources/views/depreciations/edit.blade.phpindex 7c3180be36..40a9b47332 100755--- a/resources/views/depreciations/edit.blade.php+++ b/resources/views/depreciations/edit.blade.php@@ -1,8 +1,8 @@@extends('layouts/edit-form', ['createText' => trans('admin/depreciations/general.create') ,'updateText' => trans('admin/depreciations/general.update'),- 'helpTitle' => trans('admin/depreciations/general.about_asset_depreciations'),- 'helpText' => trans('admin/depreciations/general.about_depreciations'),+ 'helpPosition' => 'right',+ 'helpText' => trans('help.depreciations'),'formAction' => ($item) ? route('depreciations.update', ['depreciation' => $item->id]) : route('depreciations.store'),])diff --git a/resources/views/hardware/edit.blade.php b/resources/views/hardware/edit.blade.phpindex b596965625..652d570c78 100755--- a/resources/views/hardware/edit.blade.php+++ b/resources/views/hardware/edit.blade.php@@ -2,7 +2,7 @@@extends('layouts/edit-form', ['createText' => trans('admin/hardware/form.create'),'updateText' => trans('admin/hardware/form.update'),- 'helpText' => trans('admin/hardware/general.about_assets_text'),+ 'helpText' => trans('help.assets'),'helpPosition' => 'right','formAction' => ($item) ? route('hardware.update', ['hardware' => $item->id]) : route('hardware.store'),])diff --git a/resources/views/layouts/edit-form.blade.php b/resources/views/layouts/edit-form.blade.phpindex 2f462134ab..19bc952890 100644--- a/resources/views/layouts/edit-form.blade.php+++ b/resources/views/layouts/edit-form.blade.php@@ -32,7 +32,7 @@@if (isset($helpText))@include ('partials.more-info',[- 'helpText' => trans('help.audit_help'),+ 'helpText' => $helpText,'helpPosition' => (isset($helpPosition)) ? $helpPosition : 'left'])@endifdiff --git a/resources/views/licenses/edit.blade.php b/resources/views/licenses/edit.blade.phpindex 18b55acbd1..d08b3522e6 100755--- a/resources/views/licenses/edit.blade.php+++ b/resources/views/licenses/edit.blade.php@@ -1,8 +1,6 @@@extends('layouts/edit-form', [- 'createText' => trans('admin/licenses/form.create') ,+ 'createText' => trans('admin/licenses/form.create'),'updateText' => trans('admin/licenses/form.update'),- 'helpTitle' => trans('admin/licenses/general.about_licenses_title'),- 'helpText' => trans('admin/licenses/general.about_licenses_text'),'formAction' => ($item) ? route('licenses.update', ['license' => $item->id]) : route('license.store'),])diff --git a/resources/views/partials/more-info.blade.php b/resources/views/partials/more-info.blade.phpindex ca704c29f2..eca7f427f6 100644--- a/resources/views/partials/more-info.blade.php+++ b/resources/views/partials/more-info.blade.php@@ -1 +1 @@-<a href="#" class="text-dark-gray" tabindex="0" role="button" data-toggle="popover" data-trigger="focus" title="<i class='fa fa-life-ring'></i> {{ trans('help.more_info_title') }}" data-placement="{{ (isset($helpPosition)) ? $helpPosition : 'left' }}" data-html="true" data-content="{{ (isset($helpText)) ? $helpText : 'Info Missing' }}"><i class="fa fa-life-ring"></i></a>+<a href="#" class="text-dark-gray" tabindex="0" role="button" data-toggle="popover" data-trigger="focus" title="<i class='fa fa-life-ring'></i> {{ trans('help.more_info_title') }}" data-placement="{{ (isset($helpPosition)) ? $helpPosition : 'right' }}" data-html="true" data-content="{{ (isset($helpText)) ? $helpText : 'Info Missing' }}"><i class="fa fa-life-ring"></i></a>