34 lines
871 B
PHP
34 lines
871 B
PHP
@php
|
|
$schema = $schemas->where("name",$record->schema)->first();
|
|
@endphp
|
|
<td>
|
|
{{-- {#if schema.type === "files"}--}}
|
|
{{-- <Preview {record} size="tiny"/>--}}
|
|
{{-- {:else}--}}
|
|
<a
|
|
href="/lucent/records/{{$record->id}}"
|
|
class="text-decoration-none text-dark d-block"
|
|
>
|
|
{{$viewModel->getRecordName($record, $schemas)}}
|
|
</a>
|
|
|
|
{{$record->status->value === "draft" ? "Draft" : ""}}
|
|
{{-- {/if}--}}
|
|
|
|
</td>
|
|
<td><a
|
|
class="text-decoration-none lx-small-text"
|
|
href="/lucent/content/{{$schema->name}}">{{$schema->label}}</a
|
|
>
|
|
</td>
|
|
|
|
|
|
<td>
|
|
{{-- <div class="d-flex">--}}
|
|
{{-- <Avatar name={usernameById(users, record._sys.updatedBy)} side={24}/>--}}
|
|
{{-- <div class="ms-2">--}}
|
|
{{-- {frieldlyUpdatedAt}--}}
|
|
{{-- </div>--}}
|
|
{{-- </div>--}}
|
|
</td>
|