mirror of
https://github.com/snipe/snipe-it.git
synced 2024-11-09 23:24:06 -08:00
Small UI tweaks for kits
This commit is contained in:
parent
426897c902
commit
e464f0edf3
|
@ -1,7 +1,8 @@
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
return array(
|
return array(
|
||||||
'about_kits' => 'About Predefined Kits',
|
'about_kits_title' => 'About Predefined Kits',
|
||||||
|
'about_kits_text' => 'Predefined Kits let you quickly check out a collection of items (assets, licenses, etc) to a user. This can be helpful when your onboarding process is consistent across many users and all users receive the same items.',
|
||||||
'checkout' => 'Checkout Kit ',
|
'checkout' => 'Checkout Kit ',
|
||||||
'create_success' => 'Kit was successfully created.',
|
'create_success' => 'Kit was successfully created.',
|
||||||
'create' => 'Create Predefined Kit',
|
'create' => 'Create Predefined Kit',
|
||||||
|
|
|
@ -1,12 +1,14 @@
|
||||||
@extends('layouts/edit-form', [
|
@extends('layouts/edit-form', [
|
||||||
'createText' => trans('admin/kits/general.create'),
|
'createText' => trans('admin/kits/general.create'),
|
||||||
'updateText' => trans('admin/kits/general.update'),
|
'updateText' => trans('admin/kits/general.update'),
|
||||||
|
'helpTitle' => trans('admin/kits/table.about_kits_title'),
|
||||||
|
'helpText' => trans('admin/kits/table.about_kits_text'),
|
||||||
'formAction' => (isset($item->id)) ? route('kits.update', ['kit' => $item->id]) : route('kits.store'),
|
'formAction' => (isset($item->id)) ? route('kits.update', ['kit' => $item->id]) : route('kits.store'),
|
||||||
])
|
])
|
||||||
|
|
||||||
{{-- Page content --}}
|
{{-- Page content --}}
|
||||||
@section('inputFields')
|
@section('inputFields')
|
||||||
@include ('partials.forms.edit.name', ['translated_name' => 'Name']) {{-- TODO: trans --}}
|
@include ('partials.forms.edit.name', ['translated_name' => trans('general.name')])
|
||||||
@stop
|
@stop
|
||||||
|
|
||||||
@section('content')
|
@section('content')
|
||||||
|
|
|
@ -1,4 +1,6 @@
|
||||||
@extends('layouts/default')
|
@extends('layouts/default', [
|
||||||
|
'helpTitle' => trans('admin/kits/general.about_kits_title'),
|
||||||
|
'helpText' => trans('admin/kits/general.about_kits_text')])
|
||||||
|
|
||||||
{{-- Web site Title --}}
|
{{-- Web site Title --}}
|
||||||
@section('title')
|
@section('title')
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
<a style="padding-left: 10px; font-size: 18px;" class="text-dark-gray" data-trigger="focus" tabindex="0" role="button" data-toggle="popover" title="More Info" data-placement="{{ (isset($helpPosition)) ? $helpPosition : 'right' }}" data-html="true" data-content="{{ (isset($helpText)) ? $helpText : 'Help Info Missing' }}">
|
<a style="padding-left: 10px; font-size: 18px;" class="text-dark-gray" data-trigger="focus" tabindex="0" role="button" data-toggle="popover" title="More Info" data-placement="right" data-html="true" data-content="{{ (isset($helpText)) ? $helpText : 'Help Info Missing' }}">
|
||||||
<i class="fa fa-life-ring" aria-hidden="true"><span class="sr-only">More Info</span></i>
|
<i class="fa fa-life-ring" aria-hidden="true"><span class="sr-only">More Info</span></i>
|
||||||
</a>
|
</a>
|
||||||
|
|
Loading…
Reference in a new issue