40 lines
2.1 KiB
PHP
40 lines
2.1 KiB
PHP
@extends('layout.app', ['brParam' => $projectModel])
|
|
|
|
@section('title', __('Aperçu d\'un :model', ['model' => Str::singular(__('models.classes.projects'))]))
|
|
@section('description', __('Aperçu d\'un :model déjà existant', ['model' => Str::singular(__('models.classes.projects'))]))
|
|
@section('breadcrumb', request()->route()->getName())
|
|
|
|
@section('content')
|
|
<div class="d-flex justify-content-between flex-wrap flex-md-nowrap align-items-center pb-3">
|
|
<div class="d-flex flex-row align-items-start">
|
|
<a href="{{ route('bo.projects.index') }}"
|
|
class="btn btn-primary text-decoration-none m-0 me-2"
|
|
data-bs-toggle="tooltip"
|
|
data-bs-placement="top"
|
|
title="{{ __('crud.helpers.list_all', ['model' => __('models.classes.projects')]) }}">
|
|
<i class="fa-solid fa-arrow-left"></i>
|
|
</a>
|
|
@include('breadcrumbs.breadcrumb-body', ['brParam' => $projectModel])
|
|
</div>
|
|
</div>
|
|
<table class="table table-hover table-borderless">
|
|
<tbody>
|
|
<tr class="list-item border-bottom">
|
|
<td class="text-center align-middle">{{ Str::ucfirst(__('validation.attributes.name')) }}</td>
|
|
<td class="text-center align-middle">{{ $projectModel->name }}</td>
|
|
</tr>
|
|
<tr class="list-item border-bottom">
|
|
<td class="text-center align-middle">{{ Str::ucfirst(__('validation.attributes.sites')) }}</td>
|
|
<td class="text-center align-middle">{{ $projectModel->site->name }}</td>
|
|
</tr>
|
|
<tr class="list-item border-bottom">
|
|
<td class="text-center align-middle">{{ Str::ucfirst(__('validation.attributes.created_at')) }}</td>
|
|
<td class="text-center align-middle"><span class="badge bg-info">{{ $projectModel->created_at }}</span></td>
|
|
</tr>
|
|
<tr class="list-item">
|
|
<td class="text-center align-middle">{{ Str::ucfirst(__('validation.attributes.updated_at')) }}</td>
|
|
<td class="text-center align-middle"><span class="badge bg-info">{{ $projectModel->updated_at }}</span></td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
@endsection
|