Snapshot of main at 9f39a6e1e (2026-11-02)
This commit is contained in:
commit
6ccf1792d7
2580 files changed
+1040202
No files matched your search
@@ -0,0 +1,18 @@
|
||||
@php($isOpenNow = $poll->isOpen())
|
||||
<span class="inline-flex px-2 py-1 text-xs font-medium rounded-full
|
||||
@if ($poll->status === 'draft') bg-gray-100 text-gray-800
|
||||
@elseif ($poll->status === 'open' && $isOpenNow) bg-green-100 text-green-800
|
||||
@elseif ($poll->status === 'open') bg-yellow-100 text-yellow-800
|
||||
@else bg-blue-100 text-blue-800 @endif">
|
||||
@if ($poll->status === 'draft')
|
||||
{{ __('Draft') }}
|
||||
@elseif ($poll->status === 'open' && $isOpenNow)
|
||||
{{ __('Open') }}
|
||||
@elseif ($poll->status === 'open' && $poll->opens_at?->isFuture())
|
||||
{{ __('Scheduled') }}
|
||||
@elseif ($poll->status === 'open')
|
||||
{{ __('Ended') }}
|
||||
@else
|
||||
{{ __('Closed') }}
|
||||
@endif
|
||||
</span>
|
||||
Reference in new issue
Block a user