@extends('layouts.master') @section('navigation') @if($user->role==1) @include('local.managers.admins._new_navigation') @elseif($user->role==2) @include('local.managers.sCoords._new_navigation') @elseif($user->role==3) @include('local.managers.pCoords._new_navigation') @else @include('local.professors._navigation') @endif @stop @section('main') @if(!Auth::user()->office_phone)

Por favor actualice su información de contacto. @if($user->role==1) @elseif($user->role==2) Esta información será visible por sus coordinadores de programa y profesores de su facultad. @elseif($user->role==3) Esta información será visible por sus coordinadores de programa y coordinador/a de facultad. @else Esta información será visible por profesores de su programa, y coordinadores de su facultad. @endif

@endif

Account Information

{{ $user->first_name }} {{ $user->surnames }}

@if(count($user->school)) {{{ $user->school->name }}} @elseif(count($user->programs)) {{{ $user->programs[0]->school->name }}} @else N/A @endif

@if(count($user->programs)) @foreach($user->programs as $program)

{{ $program->name }}

@endforeach @else N/A @endif

@if($user->role==1) Administrator @elseif($user->role==2) School Coordinator @elseif($user->role==3) Program Coordinator @else Professor @endif

Contact Information

{{{ $user->email }}}

@if($user->office_phone) {{{ $user->office_phone }}} @if($user->office_extension) ext. {{{ $user->office_extension }}} @endif @else Not set @endif

@if($user->cell_phone) {{{ $user->cell_phone }}} @else Not set @endif

Edit Contact Information

{{ Form::model($user, array('action' => array('UsersController@update'), 'class'=>'form-horizontal')) }}
{{ Form::label('office_phone', 'Office Phone', array('class' => 'col-md-4 control-label')) }}
{{ Form::text('office_phone', Input::old('office_phone'), array('class'=>'form-control') )}}
{{ Form::label('office_extension', 'Extension', array('class' => 'col-md-4 control-label')) }}
{{ Form::text('office_extension', Input::old('office_extension'), array('class'=>'form-control') )}}
{{ Form::label('cell_phone', 'Cell Phone', array('class' => 'col-md-4 control-label')) }}
{{ Form::text('cell_phone', Input::old('cell_phone'), array('class'=>'form-control') )}}
{{ Form::submit('Submit', array('class'=>'btn btn-sm btn-primary pull-right', 'name'=>'submit_contact_info')) }}
{{ Form::close() }}
@stop