mirror of
https://github.com/snipe/snipe-it.git
synced 2025-03-05 20:52:15 -08:00
Use correct button translation
Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
parent
67ed0d91c0
commit
1400c610a1
|
@ -17,7 +17,7 @@
|
||||||
<div class="col-md-1 col-sm-1 text-left">
|
<div class="col-md-1 col-sm-1 text-left">
|
||||||
@can('create', \App\Models\Location::class)
|
@can('create', \App\Models\Location::class)
|
||||||
@if ((!isset($hide_new)) || ($hide_new!='true'))
|
@if ((!isset($hide_new)) || ($hide_new!='true'))
|
||||||
<a href='{{ route('modal.show', 'location') }}' data-toggle="modal" data-target="#createModal" data-select='{{ $fieldname }}_location_select' class="btn btn-sm btn-primary">{{ trans('general.new') }}</a>
|
<a href='{{ route('modal.show', 'location') }}' data-toggle="modal" data-target="#createModal" data-select='{{ $fieldname }}_location_select' class="btn btn-sm btn-primary">{{ trans('button.new') }}</a>
|
||||||
@endif
|
@endif
|
||||||
@endcan
|
@endcan
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in a new issue