1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950 |
- @extends('admin.sub_contents.base')
- @section('main')
- @if($teacher)
- <div class="alert mt-3 mb-3" style="border: 2px solid #e9f0f3 !important; width: 100%; display: -webkit-inline-box; font-size: 12px !important; font-weight:bold !important; color: black; border-radius: 6px;">
- <div class="col-md-12">
- <div class="row">
- <div class="col-md-10">
- <div style="display:flex;">
- @if($teacher->university)
- <img class="img-responsive listFlag" style="border-radius: 20px; padding: 0px;height: 37px;width: 37px;" src="{{ asset('/assets/img/flags/4x3').'/'.strtolower(cn($teacher,'university.country.iso_3166_2','')).'.svg' }}" alt="Flag" data-toggle="tooltip" title="" data-placement="top">
- @else
- <div class="inner_left mt-1" style="border: 1px solid black; border-radius: 20px; padding: 6px; height: 37px; width: 37px;">
- <i class="fa fa fa-university ms-1"></i>
- </div>
- @endif
- <span style="margin: 0px;">{{$teacher->first_name}} {{$teacher->last_name}}</span>
- </div>
- </br>
- <span class="text-muted" style="font-weight: 500;">{{$teacher->designation}}</span></br>
- @if(isset($teacher->department_name))
- <span class="text-muted" style="font-weight: 500;">{{cn($teacher,'department_name.name','')}}</span>
- @else
- <span class="text-muted" style="font-weight: 500;">{{$teacher->others_department}}</span>
- @endif
- <span>.</span>
- <span class="text-muted" style="font-weight: 500;">{{$teacher->university_name}}</span>
- </div>
- <div class="col-md-2 mt-3">
- <span class="btn btn3 open_modal_page" data-url="{{route('modal-get',['name'=>'apply_student_proposal','id'=>$teacher->id])}}" data-title="Submit your Proposal" style="margin-left: 1.1rem;">Apply</span>
- </div>
- </div>
- </div>
- </div>
- @else
- <div class="alert mt-3 mb-3" style="border: 2px solid #e9f0f3 !important; width: 100%; display: -webkit-inline-box; font-size: 12px !important; font-weight:bold !important; color: black; border-radius: 6px;">
- <div class="col-md-12">
- <div class="row">
- <div class="col-md-12 text-center">
- <i class="fa fa-exclamation-triangle" style="color: #fdad2a !important; border-color: #fdad2a;
- "></i><span class="text-danger">This reference number is not valid or available!. Please try another reference no.</span>
- </div>
- </div>
- </div>
- </div>
- @endif
- @endsection
|