mirror of
https://github.com/snipe/snipe-it.git
synced 2024-12-25 05:34:06 -08:00
Disable privacy policy link in footer if in demo mode
This commit is contained in:
parent
04709dc1df
commit
83b546c1c5
|
@ -274,7 +274,14 @@
|
|||
{{ Form::label('privacy_policy_link', trans('admin/settings/general.privacy_policy_link')) }}
|
||||
</div>
|
||||
<div class="col-md-9">
|
||||
@if (config('app.lock_passwords'))
|
||||
{{ Form::text('privacy_policy_link', Input::old('privacy_policy_link', $setting->privacy_policy_link), array('class' => 'form-control disabled', 'disabled' => 'disabled')) }}
|
||||
@else
|
||||
{{ Form::text('privacy_policy_link', Input::old('privacy_policy_link', $setting->privacy_policy_link), array('class' => 'form-control')) }}
|
||||
|
||||
@endif
|
||||
|
||||
|
||||
<span class="help-block">{{ trans('admin/settings/general.privacy_policy_link_help') }}</span>
|
||||
{!! $errors->first('privacy_policy_link', '<span class="alert-msg">:message</span>') !!}
|
||||
</div>
|
||||
|
|
Loading…
Reference in a new issue