Blame view
resources/views/vacance-item.blade.php
6.96 KB
ad2cc280b Правки финальные ... |
1 2 3 |
@php use App\Classes\StatusUser; @endphp |
d152a3a68 Создание основных... |
4 5 6 |
@extends('layout.frontend', ['title' => $title]) @section('scripts') |
dc2a9a876 Коммит на понедел... |
7 |
@include('js.favorite-vacancy-45') |
3256f8927 task-132687 minor... |
8 |
@include('js.vacancy-response') |
d152a3a68 Создание основных... |
9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 |
@endsection @section('content') <main class="main"> <div class="container"> <ul class="breadcrumbs main__breadcrumbs"> <li><a href="{{ route('index') }}">Главная</a></li> <li><a href="{{ route('vacancies') }}">Вакансии</a></li> <li><b>{{ $title }}</b></li> </ul> <div class="main__employer-page"> @if (isset($Query[0]->employer)) <h2 class="main__employer-page-title">О компании</h2> <div class="main__employer-page-two-item-toper"> |
365e6ad01 Реализация проекта |
24 25 26 27 28 |
@if (!empty($Query[0]->employer->logo)) <img src="{{ asset(Storage::url($Query[0]->employer->logo)) }}" alt="{{ $Query[0]->employer->name }}"> @else <img src="{{ asset('images/default_ship.jpg') }}" alt="{{ $Query[0]->employer->name }}"> @endif |
d152a3a68 Создание основных... |
29 30 31 32 33 34 35 36 37 38 39 40 41 |
<span>{{ $Query[0]->employer->name_company }}</span> </div> <div class="main__employer-page-info"> <div class="main__employer-page-item"> <b> Адрес компании</b> <span> {{ $Query[0]->employer->address }} </span> </div> <div class="main__employer-page-item"> <b>Сайт</b> <span> |
6bad752f0 task-132687 minor... |
42 |
{{ $Query[0]->employer->site }} |
d152a3a68 Создание основных... |
43 44 45 46 47 |
</span> </div> <div class="main__employer-page-item"> <b>Почта</b> <span> |
6bad752f0 task-132687 minor... |
48 |
{{ $Query[0]->employer->email }} |
d152a3a68 Создание основных... |
49 50 51 52 53 |
</span> </div> <div class="main__employer-page-item"> <b>Телефон</b> <span> |
6bad752f0 task-132687 minor... |
54 |
{{ $Query[0]->employer->telephone }} |
d152a3a68 Создание основных... |
55 56 57 58 59 60 61 62 63 64 65 66 67 |
</span> </div> </div> @else <div class="main__employer-page-info"> <div class="main__employer-page-item"> <b>Ничего не найдено</b> <span> Нет данных о компании </span> </div> </div> @endif |
a873cda1e Коммит обновление... |
68 69 |
<h2 class="main__employer-page-title">{{ $Query[0]->name }}</h2> <h3 class="main__employer-page-title_">Описание вакансии</h3> |
d152a3a68 Создание основных... |
70 71 72 |
</div> @foreach ($Query as $Q) |
ad0b69c97 task-132687 tasks... |
73 74 75 76 77 78 |
<div class="main__vacancies-item-page main__employer-page-two-item"> <div class="main__employer-page-two-item-text"> <div class="main__employer-page-two-item-text-name">Мы предлагаем:</div> <div class="main__employer-page-two-item-text-body"> {!! $Q->text !!} </div> |
d152a3a68 Создание основных... |
79 |
</div> |
ad0b69c97 task-132687 tasks... |
80 81 82 83 84 85 86 87 88 89 |
<div class="main__employer-page-two-item-tags"> @if (!empty($Q->jobs_code[0]->position_ship)) <span class="main__employer-page-two-item-tag">#{{ $Q->jobs_code[0]->position_ship }}</span> @else @if (isset($Q->jobs)) @foreach ($Q->jobs as $key => $j) <span class="main__employer-page-two-item-tag">#{{ $j->name }}</span> @endforeach @endif @endif |
d152a3a68 Создание основных... |
90 |
</div> |
ad0b69c97 task-132687 tasks... |
91 92 93 |
<br> <div class="main__employer-page-two-item-buttons"> @guest |
3256f8927 task-132687 minor... |
94 95 96 97 98 99 100 |
<button type="button" data-fancybox data-src="#question" data-options='{"touch":false,"autoFocus":false}' class="button main__employer-page-two-item-button"> Откликнуться </button> |
ad0b69c97 task-132687 tasks... |
101 |
@else |
3256f8927 task-132687 minor... |
102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 |
@if (App\Classes\StatusUser::Status() == 1) <?php if (\App\Classes\Tools::getWorkerProfilePercent(Auth()->user()->workers[0]) >= 50) { $buttonId = 'ask_comment'; } else { $buttonId = 'ask_percent'; } ?> <button type="button" data-fancybox data-src="#{{$buttonId}}" data-vacancy="{{ $Q->id }}" data-uid="{{ $uid }}" data-tuid="{{ $Q->employer->user_id }}" data-options='{"touch":false,"autoFocus":false}' class="button main__employer-page-two-item-button {{ $buttonId }}"> Откликнуться </button> <div class="main__employer-page-two-item-bottom"> <div class="main__employer-page-two-item-bottom-date">{{ date('d.m.Y', strtotime($Q->updated_at)) }}</div> <button type="button" id="like{{ $Q->id }}" data-val="{{ $Q->id }}" class="like main__employer-page-two-item-bottom-like js_vac_favorite js-toggle {{ \App\Classes\LikesClass::get_status_vacancy($Q) }}"> <svg> <use xlink:href="{{ asset('images/sprite.svg#heart') }}"></use> </svg> </button> </div> |
ad0b69c97 task-132687 tasks... |
128 129 |
@endif @endguest |
d152a3a68 Создание основных... |
130 |
</div> |
3256f8927 task-132687 minor... |
131 |
|
d152a3a68 Создание основных... |
132 |
</div> |
d152a3a68 Создание основных... |
133 |
@endforeach |
ad0b69c97 task-132687 tasks... |
134 135 136 137 138 139 |
<a href="{{ redirect()->back()->getTargetUrl() }}" class="back"> <svg> <use xlink:href="{{ asset('images/sprite.svg#back') }}"></use> </svg> <span>Вернуться к списку вакансий</span> </a> |
ddb8f38fb Коммит по редизай... |
140 |
</div> |
d152a3a68 Создание основных... |
141 142 143 |
</main> </div> @endsection |