@extends('layouts/default') {{-- Page title --}} @section('title') {{ trans('general.ldap_user_sync') }} @parent @stop @section('header_right') {{ trans('general.back') }} @stop {{-- Page content --}} @section('content')
@if ($snipeSettings->ldap_enabled == 0) {{ trans('admin/users/message.ldap_not_configured') }} @else
{{csrf_field()}}
@include ('partials.forms.edit.location-select', ['translated_name' => trans('general.location'), 'fieldname' => 'location_id[]', 'multiple' => true])

{{ trans('admin/users/general.ldap_config_text') }}

{{ trans('admin/settings/general.ldap_settings_link') }}

@if (Session::get('summary'))

{{ trans('general.sync_results') }}

@foreach (Session::get('summary') as $entry) @endforeach
{{ trans('general.username') }}{{ trans('general.employee_number') }} {{ trans('general.first_name') }}{{ trans('general.last_name') }} {{ trans('general.email') }}{{ trans('general.notes') }}
{{ $entry['username'] }} {{ $entry['employee_number'] }} {{ $entry['firstname'] }} {{ $entry['lastname'] }} {{ $entry['email'] }} @if ($entry['status']=='success') {!! $entry['note'] !!} @else @endif
@endif
@endif @stop @section('moar_scripts') @stop