Admin user and Portal profile edit picture date bind issue ( #3qec06f )
This commit is contained in:
parent
5cb3837c6c
commit
dd2af1ccb8
@ -26,7 +26,7 @@
|
|||||||
@if (setting('default.use_gravatar', '0') == '1')
|
@if (setting('default.use_gravatar', '0') == '1')
|
||||||
<x-form.group.text name="fake_picture" label="{{ trans_choice('general.pictures', 1) }}" disabled placeholder="{{ trans('settings.default.use_gravatar') }}" form-group-class="sm:col-span-3 sm:row-span-2" />
|
<x-form.group.text name="fake_picture" label="{{ trans_choice('general.pictures', 1) }}" disabled placeholder="{{ trans('settings.default.use_gravatar') }}" form-group-class="sm:col-span-3 sm:row-span-2" />
|
||||||
@else
|
@else
|
||||||
<x-form.group.file name="picture" label="{{ trans_choice('general.pictures', 1) }}" not-required form-group-class="sm:col-span-3 sm:row-span-2" />
|
<x-form.group.file name="picture" :value="$user->picture" label="{{ trans_choice('general.pictures', 1) }}" not-required form-group-class="sm:col-span-3 sm:row-span-2" />
|
||||||
@endif
|
@endif
|
||||||
|
|
||||||
@if (user()->id == $user->id)
|
@if (user()->id == $user->id)
|
||||||
|
@ -28,7 +28,7 @@
|
|||||||
@if (setting('default.use_gravatar', '0') == '1')
|
@if (setting('default.use_gravatar', '0') == '1')
|
||||||
<x-form.group.text name="fake_picture" label="{{ trans_choice('general.pictures', 1) }}" disabled placeholder="{{ trans('settings.default.use_gravatar') }}" form-group-class="sm:col-span-3 sm:row-span-3" />
|
<x-form.group.text name="fake_picture" label="{{ trans_choice('general.pictures', 1) }}" disabled placeholder="{{ trans('settings.default.use_gravatar') }}" form-group-class="sm:col-span-3 sm:row-span-3" />
|
||||||
@else
|
@else
|
||||||
<x-form.group.file name="picture" label="{{ trans_choice('general.pictures', 1) }}" not-required form-group-class="sm:col-span-3 sm:row-span-3" />
|
<x-form.group.file name="picture" label="{{ trans_choice('general.pictures', 1) }}" :value="$user->picture" not-required form-group-class="sm:col-span-3 sm:row-span-3" />
|
||||||
@endif
|
@endif
|
||||||
|
|
||||||
<x-form.group.password name="current_password" :label="trans('auth.password.current')" v-show="show_password" />
|
<x-form.group.password name="current_password" :label="trans('auth.password.current')" v-show="show_password" />
|
||||||
|
Loading…
x
Reference in New Issue
Block a user