wip file field
This commit is contained in:
@@ -0,0 +1,27 @@
|
||||
@php
|
||||
|
||||
$statusList = [
|
||||
"published" => [
|
||||
"value" => "published",
|
||||
"text" => "Published",
|
||||
"bg" => "success",
|
||||
"color" => "white",
|
||||
],
|
||||
"trashed" => [
|
||||
"value" => "trashed",
|
||||
"text" => "Trashed",
|
||||
"bg" => "danger",
|
||||
"color" => "white",
|
||||
],
|
||||
"draft" => [
|
||||
"value" => "draft",
|
||||
"text" => "Draft",
|
||||
"bg" => "warning",
|
||||
"color" => "dark",
|
||||
],
|
||||
];
|
||||
@endphp
|
||||
|
||||
<span class="badge text-bg-{{$statusList[$status->value]["bg"]}}" style="max-width:84px"
|
||||
>{{$statusList[$status->value]["text"]}}</span
|
||||
>
|
||||
Reference in New Issue
Block a user