Fixes #128: Profiles page details are only displayed when social user profiles is enabled
This commit is contained in:
parent
b2443d0ff9
commit
3b76f20738
@ -62,7 +62,8 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<fieldset class="mt-4">
|
@if (UserConfig::get('social_user_profiles'))
|
||||||
|
<fieldset class="mt-4 mb-4">
|
||||||
<legend class="ml-md-5">Public profile</legend>
|
<legend class="ml-md-5">Public profile</legend>
|
||||||
|
|
||||||
<div class="form-group row{{ $errors->has('profile_alias') ? ' has-danger' : '' }}">
|
<div class="form-group row{{ $errors->has('profile_alias') ? ' has-danger' : '' }}">
|
||||||
@ -89,8 +90,9 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</fieldset>
|
</fieldset>
|
||||||
|
@endif
|
||||||
|
|
||||||
<div class="text-right mt-5">
|
<div class="text-right">
|
||||||
<a href="{{ route('home') }}" class="btn btn-link">@lang('forms.cancel_action')</a>
|
<a href="{{ route('home') }}" class="btn btn-link">@lang('forms.cancel_action')</a>
|
||||||
<button type="submit" class="btn btn-success"><i class="fa fa-fw fa-check"></i> @lang('forms.save_action')</button>
|
<button type="submit" class="btn btn-success"><i class="fa fa-fw fa-check"></i> @lang('forms.save_action')</button>
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
Reference in New Issue
Block a user