Skip to content

Commit

Permalink
Hidden Santa id
Browse files Browse the repository at this point in the history
  • Loading branch information
tabuna committed Dec 20, 2024
1 parent cc099ae commit 3e79e2b
Showing 1 changed file with 30 additions and 27 deletions.
57 changes: 30 additions & 27 deletions resources/views/santa/game.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -43,33 +43,36 @@ class="position-absolute top-0 end-0 m-4 btn btn-link link-secondary text-decora
@endif

@if($participant->exists && $participant->hasReceiver())
<dl class="bg-body rounded shadow-sm p-4 py-4 d-flex flex-column gap-3">

<div class="d-flex">
<dt class="opacity-50 fw-light me-3 col-4">
Номер получателя:
</dt>
<dd class="text-body-emphasis">
{{ $participant->receiver->id }}
</dd>
</div>
<div class="d-flex">
<dt class="opacity-50 fw-light me-3 col-4">
Адрес:
</dt>
<dd class="text-body-emphasis">
{{ $participant->receiver->address }}
</dd>
</div>
<div class="d-flex">
<dt class="opacity-50 fw-light me-3 col-4">
Вот, что получатель рассказал о себе:
</dt>
<dd class="text-body-emphasis">
{!! nl2br(e($participant->receiver->about)) !!}
</dd>
</div>
</dl>
<dl class="bg-body rounded shadow-sm p-4 py-4 d-flex flex-column gap-3">

{{--
<div class="d-flex">
<dt class="opacity-50 fw-light me-3 col-4">
Номер:
</dt>
<dd class="text-body-emphasis">
{{ $participant->receiver->id }}
</dd>
</div>
--}}

<div class="d-flex">
<dt class="opacity-50 fw-light me-3 col-4">
Адрес:
</dt>
<dd class="text-body-emphasis text-break text-balanced">
{{ $participant->receiver->address }}
</dd>
</div>
<div class="d-flex">
<dt class="opacity-50 fw-light me-3 col-4">
Вот, что получатель рассказал о себе:
</dt>
<dd class="text-body-emphasis text-break text-balanced">
{!! nl2br(e($participant->receiver->about)) !!}
</dd>
</div>
</dl>
@endif


Expand Down

0 comments on commit 3e79e2b

Please sign in to comment.