@extends('layouts/default') {{-- Page title --}} @section('title') 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()}}
{{ Form::select('location_id', $location_list , Input::old('location_id'), array('class'=>'select2', 'style'=>'width:350px')) }} {!! $errors->first('location_id', ':message') !!}

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

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

Synchronization Results

@foreach (Session::get('summary') as $entry) @endforeach
UsernameEmployee Number First NameLast Name EmailNotes
{{ $entry['username'] }} {{ $entry['employee_number'] }} {{ $entry['firstname'] }} {{ $entry['lastname'] }} {{ $entry['email'] }} @if ($entry['status']=='success') {!! $entry['note'] !!} @else {!! $entry['note'] !!} @endif
@endif
@endif @stop @section('moar_scripts') @stop