Added language strings for audit views

This commit is contained in:
snipe 2019-05-05 19:35:20 -04:00
parent 7b194c678c
commit e9b9301efb
4 changed files with 13 additions and 17 deletions

View file

@ -219,7 +219,9 @@
'years' => 'years',
'yes' => 'Yes',
'zip' => 'Zip',
'noimage' => 'No image uploaded or image not found.',
'token_expired' => 'Your form session has expired. Please try again.',
'login_enabled' => 'Login Enabled',
'noimage' => 'No image uploaded or image not found.',
'token_expired' => 'Your form session has expired. Please try again.',
'login_enabled' => 'Login Enabled',
'audit_due' => 'Due for Audit',
'audit_overdue' => 'Overdue for Audit',
];

View file

@ -6,7 +6,7 @@
{{ $company->name }}
@endif
{{ trans('general.assets') }}
{{ trans('general.audit_due') }}
@stop
@ -15,9 +15,6 @@
@yield('title0') @parent
@stop
@section('header_right')
<a href="{{ route('hardware.create') }}" class="btn btn-primary pull-right"></i> {{ trans('general.create') }}</a>
@stop
{{-- Page content --}}
@section('content')

View file

@ -6,7 +6,7 @@
{{ $company->name }}
@endif
{{ trans('general.assets') }}
{{ trans('general.audit_overdue') }}
@stop
@ -15,9 +15,6 @@
@yield('title0') @parent
@stop
@section('header_right')
<a href="{{ route('hardware.create') }}" class="btn btn-primary pull-right"></i> {{ trans('general.create') }}</a>
@stop
{{-- Page content --}}
@section('content')

View file

@ -441,26 +441,26 @@
</li>
@can('audit', \App\Models\Asset::class)
<li>
<li{!! (Request::is('hardware/audit/due') ? ' class="active"' : '') !!}>
<a href="{{ route('assets.audit.due') }}">
<i class="fa fa-clock-o text-yellow"></i> Due for Audit
<i class="fa fa-clock-o text-yellow"></i> {{ trans('general.audit_due') }}
</a>
</li>
<li>
<li{!! (Request::is('hardware/audit/overdue') ? ' class="active"' : '') !!}>
<a href="{{ route('assets.audit.overdue') }}">
<i class="fa fa-warning text-red"></i> Overdue for Audit
<i class="fa fa-warning text-red"></i> {{ trans('general.audit_overdue') }}
</a>
</li>
@endcan
<li class="divider">&nbsp;</li>
@can('checkout', \App\Models\Asset::class)
<li{!! (Request::is('hardware/bulkcheckout') ? ' class="active>"' : '') !!}>
<li{!! (Request::is('hardware/bulkcheckout') ? ' class="active"' : '') !!}>
<a href="{{ route('hardware/bulkcheckout') }}">
{{ trans('general.bulk_checkout') }}
</a>
</li>
<li{!! (Request::is('hardware/requested') ? ' class="active>"' : '') !!}>
<li{!! (Request::is('hardware/requested') ? ' class="active"' : '') !!}>
<a href="{{ route('assets.requested') }}">
{{ trans('general.requested') }}</a>
</li>