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,22 @@
|
||||
{{-- Shown on the Post and Questions tabs while the poll's content is read-only (Poll::isContentLocked) --}}
|
||||
@if ($contentLocked)
|
||||
<div class="rounded-md bg-gray-50 border border-gray-300 p-4" role="status">
|
||||
<div class="flex">
|
||||
<div class="flex-shrink-0">
|
||||
<svg class="h-5 w-5 text-gray-500" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="currentColor" aria-hidden="true">
|
||||
<path fill-rule="evenodd" d="M10 1a4.5 4.5 0 00-4.5 4.5V9H5a2 2 0 00-2 2v6a2 2 0 002 2h10a2 2 0 002-2v-6a2 2 0 00-2-2h-.5V5.5A4.5 4.5 0 0010 1zm3 8V5.5a3 3 0 10-6 0V9h6z" clip-rule="evenodd" />
|
||||
</svg>
|
||||
</div>
|
||||
<div class="ml-3 text-sm text-gray-700">
|
||||
<p class="font-medium text-gray-800">{{ __('This poll is read-only.') }}</p>
|
||||
<p class="mt-1">
|
||||
@if ($editingPoll?->hasResponses())
|
||||
{{ __('People have already voted, so the post and the questions can no longer change: every voter must see the same poll. Settings and target audience can still be edited.') }}
|
||||
@else
|
||||
{{ __('The poll is no longer a draft, so the post and the questions cannot be changed. To change them, set the status back to Draft and save; that is only possible while nobody has voted.') }}
|
||||
@endif
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@endif
|
||||
Reference in new issue
Block a user