A free open source IT asset/license management system
Added asterisk help text
snipe305dc049a498
diff --git a/resources/lang/en-US/general.php b/resources/lang/en-US/general.phpindex a60f0dedfd..4ebf1b8977 100644--- a/resources/lang/en-US/general.php+++ b/resources/lang/en-US/general.php@@ -561,5 +561,6 @@ return ['remaining_var' => ':count Remaining','label' => 'Label','import_asset_tag_exists' => 'An asset with the asset tag :asset_tag already exists and an update was not requested. No change was made.',+ 'countries_manually_entered_help' => 'Values with an asterisk (*) were manually entered and do not match existing ISO 3166 dropdown values',];diff --git a/resources/views/partials/forms/edit/address.blade.php b/resources/views/partials/forms/edit/address.blade.phpindex c68ecaa8c2..893bd01339 100644--- a/resources/views/partials/forms/edit/address.blade.php+++ b/resources/views/partials/forms/edit/address.blade.php@@ -35,6 +35,7 @@{{ Form::label('country', trans('general.country'), array('class' => 'col-md-3 control-label')) }}<div class="col-md-7">{!! Form::countries('country', old('country', $item->country), 'select2') !!}+ <p class="help-block">{{ trans('general.countries_manually_entered_help') }}</p>{!! $errors->first('country', '<span class="alert-msg" aria-hidden="true"><i class="fas fa-times" aria-hidden="true"></i> :message</span>') !!}</div></div>diff --git a/resources/views/users/edit.blade.php b/resources/views/users/edit.blade.phpindex 5f0246d022..1c23b76823 100755--- a/resources/views/users/edit.blade.php+++ b/resources/views/users/edit.blade.php@@ -451,6 +451,8 @@<label class="col-md-3 control-label" for="country">{{ trans('general.country') }}</label><div class="col-md-6">{!! Form::countries('country', old('country', $user->country), 'col-md-12 select2') !!}++ <p class="help-block">{{ trans('general.countries_manually_entered_help') }}</p>{!! $errors->first('country', '<span class="alert-msg" aria-hidden="true">:message</span>') !!}</div></div>diff --git a/resources/views/users/view.blade.php b/resources/views/users/view.blade.phpindex 8fbed865ee..e2397ebe86 100755--- a/resources/views/users/view.blade.php+++ b/resources/views/users/view.blade.php@@ -197,7 +197,9 @@{{ trans('admin/users/general.print_assigned') }}</a>@else- <button style="width: 100%;" class="btn btn-sm btn-primary hidden-print" rel="noopener" disabled title="{{ trans('admin/users/message.user_has_no_assets_assigned') }}">{{ trans('admin/users/general.print_assigned') }}</button>+ <button style="width: 100%;" class="btn btn-sm btn-primary btn-social hidden-print" rel="noopener" disabled title="{{ trans('admin/users/message.user_has_no_assets_assigned') }}">+ <x-icon type="print" />+ {{ trans('admin/users/general.print_assigned') }}</button>@endif</div>@endcan