@extends('layouts.app') @section('content')

{{ __('user.profile') }}

@gravatar($user->email, 90)

@if($user->assistant) @icon(star) @endif {{ $user->name }}

{{ Form::open( ["url" => route('profile.update'), 'method' => 'PUT'] ) }}
{{ __('user.name') }}: {{ Form::text('name', $user->name, ["class" => "w100"]) }}
{{ __('user.email') }}: {{ Form::email('email', $user->email, ["class" => "w100"]) }}
{{ __('user.language') }}: {{ Form::select('locale', App\Language::available(), $user->locale ) }}

{{ trans_choice('user.notification', 2) }}

{{ __('user.newTicketNotification') }} {{ Form::checkbox('new_ticket_notification',true, $user->settings->new_ticket_notification) }}
{{ __('user.ticketAssignedNotification')}} {{ Form::checkbox('ticket_assigned_notification',true, $user->settings->ticket_assigned_notification) }}
{{ __('user.ticketUpdatedNotification') }} {{ Form::checkbox('ticket_updated_notification',true, $user->settings->ticket_updated_notification) }}
{{ __('user.newLeadNotification') }} {{ Form::checkbox('new_lead_notification',true, $user->settings->new_lead_notification) }}
{{ __('user.leadAssignedNotification') }} {{ Form::checkbox('lead_assigned_notification',true, $user->settings->lead_assigned_notification) }}
{{ __('user.newIdeaNotification') }} {{ Form::checkbox('new_idea_notification',true, $user->settings->new_idea_notification) }}
{{ __('user.dailyTasksNotification') }}: settings->daily_tasks_notification ) checked @endif>
{{ __('user.mentionNotification') }}: settings->mention_notification ) checked @endif>
{{ __('user.ticketsSignature') }}:
{{ Form::close() }}
@icon(key) {{ __('user.changePassword') }} @endsection