
<!-- Trigger the modal with a button -->
<button type="button" class="btn btn-info " data-toggle="modal" data-target="#InfoList{{@$list->id}}">
<li class="icon ti-alert"></li>
</button>
<!-- Modal -->
<div id="InfoList{{@$list->id}}" class="modal fade" role="dialog">
  <div class="modal-dialog">

    <!-- Modal content-->
    <div class="modal-content">
      <div class="modal-header">
        <button type="button" class="close" data-dismiss="modal">&times;</button>
        <h4 class="modal-title">@lang('home.user_info')</h4>
      </div>
      <div class="modal-body table-responsive ">
      
        <table class="table  table-striped table-bordered table-borderless table-hover ">
          <tr>
              <th class="col-md-2">#</th>
              <th class="col-md-2">{{ @$list->user->id }}</th>
          </tr>
          <tr>
              <th class="col-md-2">@lang('home.name')</th>
              <th class="col-md-2">{{ @$list->user->name }}</th>
          </tr>
          <tr>
              <th class="col-md-2">@lang('home.email')</th>
              <th class="col-md-2">{{ @$list->user->email }}</th>
          </tr>
          <tr>
              <th class="col-md-2">@lang('home.phone')</th>
              <th class="col-md-2">{{ @$list->user->phone }}</th>
          </tr>
          <tr>
              <th class="col-md-2">@lang('home.title')</th>
              <th class="col-md-2">{{ @$list->user->subject }}</th>
          </tr>
          <tr>
              <th class="col-md-2">@lang('home.birthdate')</th>
              <th class="col-md-2">{{ @$list->user->birthdate.' - '. @Carbon\Carbon::parse($list->user->birthdate)->diffForHumans() }}</th>
          </tr>
         
          <tr>
              <th class="col-md-2">@lang('home.gander')</th>
              <th class="col-md-2">{{ @$list->user->gander}}</th>
          </tr>
           <tr>
              <th class="col-md-2">@lang('home.organization_experience')</th>
              <th class="col-md-2">
                @if($list->user->user_info->organization_experience =='6month') 
                  @lang('home.6month')
                @elseif(@$list->user->user_info->organization_experience =='6_to_12_month') 
                  @lang('home.6_to_12_month')
                @elseif(@$list->user->user_info->organization_experience =='1_to_2_years') 
                  @lang('home.1_to_2_years')
                @elseif(@$list->user->user_info->organization_experience =='2_to_more') 
                  @lang('home.2_to_more')
                @endif
            </th>
            </tr>
            <tr>
              <th class="col-md-2">@lang('home.sabbatical_rate')</th>
              <th class="col-md-2">
                @if($list->user->user_info->sabbatical_rate =='30%_50%') 
                  @lang('home.30%_50%')
                @elseif(@$list->user->user_info->sabbatical_rate =='51%_71%') 
                  @lang('home.51%_71%')
                @elseif(@$list->user->user_info->sabbatical_rate =='72%_more') 
                  @lang('home.72%_more')
               
                @endif
            </th>
          </tr>
           <tr>
              <th class="col-md-2">@lang('home.working_status')</th>
              <th class="col-md-2">
                @if($list->user->user_info->working_status  =='non-working') 
                  @lang('home.non-working')
                @elseif(@$list->user->user_info->working_status =='student') 
                  @lang('home.student')
                @elseif(@$list->user->user_info->working_status =='employee') 
                  @lang('home.employee')
               
                @endif
            </th>
          </tr>
         
        </table>
    
      </div>
      <div class="modal-footer">
        <button type="button" class="btn btn-default" data-dismiss="modal">@lang('home.close')</button>
        
      </div>
    </div>

  </div>
</div>