mirror of
https://github.com/grocy/grocy.git
synced 2026-04-09 05:56:15 +02:00
Fied wrong/missing product picker hint on product edit page
This commit is contained in:
parent
8c8a51c06e
commit
06f345324f
|
|
@ -26,6 +26,11 @@
|
||||||
data-toggle="tooltip"
|
data-toggle="tooltip"
|
||||||
title="{{ $__t('Type a new product name or barcode and hit TAB or ENTER to start a workflow') }}"></i>
|
title="{{ $__t('Type a new product name or barcode and hit TAB or ENTER to start a workflow') }}"></i>
|
||||||
@endif
|
@endif
|
||||||
|
@if(!empty($hint))
|
||||||
|
<i class="fas fa-question-circle"
|
||||||
|
data-toggle="tooltip"
|
||||||
|
title="{{ $hint }}"></i>
|
||||||
|
@endif
|
||||||
<span id="barcode-lookup-disabled-hint"
|
<span id="barcode-lookup-disabled-hint"
|
||||||
class="small text-muted d-none float-right"> {{ $__t('Barcode lookup is disabled') }}</span>
|
class="small text-muted d-none float-right"> {{ $__t('Barcode lookup is disabled') }}</span>
|
||||||
<i id="barcode-lookup-hint"
|
<i id="barcode-lookup-hint"
|
||||||
|
|
|
||||||
|
|
@ -95,6 +95,7 @@
|
||||||
'disabled' => $isSubProductOfOthers,
|
'disabled' => $isSubProductOfOthers,
|
||||||
'hint' => $hint
|
'hint' => $hint
|
||||||
))
|
))
|
||||||
|
@php $hint = ''; @endphp
|
||||||
|
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<label for="description">{{ $__t('Description') }}</label>
|
<label for="description">{{ $__t('Description') }}</label>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user