Fixes #128: Profiles page details are only displayed when social user profiles is enabled

This commit is contained in:
Andy Heathershaw 2019-07-21 08:39:04 +01:00
parent b2443d0ff9
commit 3b76f20738

View File

@ -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>