More help text updates

This commit is contained in:
snipe 2018-10-04 21:14:45 -07:00
parent 4a7f61b554
commit 408f9978e9
18 changed files with 32 additions and 34 deletions

View file

@ -1,8 +1,6 @@
<?php
return 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',

View file

@ -1,8 +1,6 @@
<?php
return array(
'about_categories_title' => 'About Categories',
'about_categories' => 'Categories help you organize your items. Some example categories might be &quot;Desktops&quot;, &quot;Laptops&quot;, &quot;Mobile Phones&quot;, &quot;Tablets&quot;, 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.',

View file

@ -1,6 +1,4 @@
<?php
return [
'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',
];

View file

@ -1,8 +1,6 @@
<?php
return 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',

View file

@ -1,8 +1,6 @@
<?php
return 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',

View file

@ -1,8 +1,6 @@
<?php
return 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',
'asset' => 'Asset',
'bulk_checkout' => 'Checkout Assets',

View file

@ -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 &quot;Desktops&quot;, &quot;Laptops&quot;, &quot;Mobile Phones&quot;, &quot;Tablets&quot;, 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.',
);

View file

@ -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'),
])

View file

@ -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'),
])

View file

@ -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'),
])

View file

@ -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'),
])

View file

@ -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 --}}

View file

@ -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'),
])

View file

@ -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'),
])

View file

@ -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'),
])

View file

@ -32,7 +32,7 @@
@if (isset($helpText))
@include ('partials.more-info',
[
'helpText' => trans('help.audit_help'),
'helpText' => $helpText,
'helpPosition' => (isset($helpPosition)) ? $helpPosition : 'left'
])
@endif

View file

@ -1,8 +1,6 @@
@extends('layouts/edit-form', [
'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'),
])

View file

@ -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>