From 7db5ce20a653825a7fdafe8866cd3aabe0487819 Mon Sep 17 00:00:00 2001 From: anazaryan Date: Fri, 20 Dec 2024 14:37:25 +0400 Subject: [PATCH] fix chat design --- resources/views/employers/dialog.blade.php | 47 +++++++++++++--------------- 1 file changed, 21 insertions(+), 26 deletions(-) diff --git a/resources/views/employers/dialog.blade.php b/resources/views/employers/dialog.blade.php index 59b775a..9f297e4 100644 --- a/resources/views/employers/dialog.blade.php +++ b/resources/views/employers/dialog.blade.php @@ -178,39 +178,16 @@ @elseif($companion->id == $superAdmin->id) @include('svg.logo_icon') @else - @if ((isset($companion->employers[0]->logo)) && - (!empty($companion->employers[0]->logo))) + @if ((isset($companion->employers[0]->logo)) && (!empty($companion->employers[0]->logo))) @else -
- +
- @endif @endif
-
- - - - @if(\App\Models\Ad_employer::where('id', $it->ad_employer_id)->exists()) - Отклик на вакансию {{ \App\Models\Ad_employer::find($it->ad_employer_id)->name }} - @if($it->text) - Комментарий: {{ $it->text }} - @endif - @else - @if($it->text) - {{ $it->text }} - @endif -
- - @endif @if ((isset($it->file)) && (!empty($it->file)))
@@ -226,6 +203,24 @@ Скачать
+ @else +
+ + @if(\App\Models\Ad_employer::where('id', $it->ad_employer_id)->exists()) + Отклик на вакансию {{ \App\Models\Ad_employer::find($it->ad_employer_id)->name }} + @if($it->text) + Комментарий: {{ $it->text }} + @endif + @else + @if($it->text) + {{ $it->text }} + @endif + @endif +
@endif
{{ $it->created_at }}
@@ -260,7 +255,7 @@
@if(\App\Models\Ad_employer::where('id', $it->ad_employer_id)->exists())) - Отклик на вакансию "{{ \App\Models\Ad_employer::find($it->ad_employer_id)->name }}"
+ Отклик на вакансию "{{ \App\Models\Ad_employer::find($it->ad_employer_id)->name }}"
@if($it->text) Комментарий: {{ $it->text }} @endif -- 1.7.10.4