Blame view

resources/views/ajax/resume_2.blade.php 2.66 KB
ad20c698a   Андрей Ларионов   Результаты на вос...
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
  @if ($resumes->count())
      @foreach ($resumes as $res)
          <div class="main__resume-base-body-item">
              <div class="main__resume-base-body-item-buttons">
                  <button type="button" class="like js-toggle js_box_favorites <?=\App\Classes\RusDate::selected_item($res->id);?>" data-val="{{ $res->id }}">
                      <svg>
                          <use xlink:href="{{ asset('images/sprite.svg#heart') }}"></use>
                      </svg>
                  </button>
                  <button type="button" class="chat js-toggle js_it_button" data-fancybox data-src="#send2" data-vacancy="0" data-uid="{{ $idiot}}" data-tuid="{{ $res->id }}"  data-options='{"touch":false,"autoFocus":false}'>
                      <svg>
                          <use xlink:href="{{ asset('images/sprite.svg#chat') }}"></use>
                      </svg>
                  </button>
              </div>
              <div class="main__resume-base-body-item-wrapper">
                  <img src="@isset ($res->photo) {{ asset(Storage::url($res->photo)) }} @else {{ asset('images/default_man.jpg')}} @endif" alt="" class="main__resume-base-body-item-photo">
                  <div class="main__resume-base-body-item-inner">
                      <div>
                          <b>Статус</b>
                          <span>{{ $status_work[$res->status_work] }}</span>
                      </div>
                      <div>
                          <b>Имя работника</b>
                          <span>@if (isset($res->users)){{ $res->users->surname." ".$res->users->name_man." ".$res->users->surname2 }} @endif</span>
                      </div>
                      <div>
                          <b>Номер телефона</b>
                          <span><a href="tel:{{ $res->telephone }}">{{ $res->telephone }}</a></span>
                      </div>
                      <div>
                          <b>Электронный адрес</b>
                          <span><a href="mailto:{{ $res->email }}">{{ $res->email }}</a></span>
                      </div>
                      <div>
                          <b>Город проживания</b>
                          <span>{{ $res->city }}</span>
                      </div>
                      <div>
                          <b>Опыт работы</b>
                          <span>{{ $res->experience }}</span>
                      </div>
                  </div>
              </div>
              <a href="{{ route('resume_profile', ['worker' => $res->id]) }}" class="button button_light main__resume-base-body-item-link">Перейти в
                  резюме</a>
          </div>
      @endforeach
  
      {{ $resumes->appends($_GET)->links('paginate') }}
  @endif