Blame view

resources/views/ajax/companies.blade.php 1.46 KB
d152a3a68   Андрей Ларионов   Создание основных...
1
2
3
4
5
  <div class="main__employers-one">
  @if ($emps->count())
          @foreach($emps as $emp)
          <div class="main__employers-item">
                      <span class="main__employers-item-inner">
a9dfa8c95   Андрей Ларионов   Обновление на 7 м...
6
7
8
9
10
11
                           @if (!empty($emp->logo))
                              <img src="{{ asset(Storage::url($emp->logo)) }}" alt="{{ $emp->name_company }}" class="main__employers-item-pic">
                          @else
                              <img src="{{ asset('images/default_ship.jpg') }}" alt="{{ $emp->name_company }}" class="main__employers-item-pic">
                          @endif
                               <span class="main__employers-item-body">
d152a3a68   Андрей Ларионов   Создание основных...
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
                              <b>{{ $emp->name_company }}</b>
                              <i>{{ $emp->ads->count() }} вакансия(ий)</i>
                          </span>
                      </span>
              <a href="{{ route('info_company', ['company' => $emp->id]) }}" class="button button_light main__employers-item-more">Подробнее</a>
  
              @if ($emp->oficial_status == 1)
              <span class="main__employers-item-label">
                  <svg>
                      <use xlink:href="images/sprite.svg#v"></use>
                  </svg>
                  <span>Компания одобрена сервисом rekamore.su</span>
              </span>
              @endif
          </div>
          @endforeach
  </div>
  
  {{ $emps->appends($_GET)->links('paginate') }}
  @else
      <H2>Нет данных</H2>
  @endif