update page title and toolbar
This commit is contained in:
parent
5ef51b86cc
commit
4d0ae48d3f
@ -6,12 +6,12 @@
|
|||||||
|
|
||||||
<!--begin::Title-->
|
<!--begin::Title-->
|
||||||
<h1 class="page-heading d-flex text-dark fw-bold fs-3 flex-column justify-content-center my-0 text-capitalize">
|
<h1 class="page-heading d-flex text-dark fw-bold fs-3 flex-column justify-content-center my-0 text-capitalize">
|
||||||
|
{{ ucfirst(str_replace('-',' ',$route[0])) }}
|
||||||
@if(count($route) > 1)
|
@if(count($route) > 1)
|
||||||
@if($route[1] !== 'index' && $route[1] !== 'users')
|
@if($route[1] !== 'index' && $route[1] !== 'users')
|
||||||
{{ $route[1] }}
|
{{ $route[1] }}
|
||||||
@endif
|
@endif
|
||||||
@endif
|
@endif
|
||||||
{{ ucfirst(str_replace('-',' ',$route[0])) }}
|
|
||||||
</h1>
|
</h1>
|
||||||
<!--end::Title-->
|
<!--end::Title-->
|
||||||
<!--begin::Breadcrumb-->
|
<!--begin::Breadcrumb-->
|
||||||
@ -38,7 +38,7 @@
|
|||||||
</li>
|
</li>
|
||||||
<!--end::Item-->
|
<!--end::Item-->
|
||||||
<!--begin::Item-->
|
<!--begin::Item-->
|
||||||
<li class="breadcrumb-item text-muted text-capitalize">{{ ucfirst(str_replace('-',' ',$route[1])).' '.ucfirst(str_replace('-',' ',$route[0]))}}</li>
|
<li class="breadcrumb-item text-muted text-capitalize">{{ ucfirst(str_replace('-',' ',$route[1]))}}</li>
|
||||||
<!--end::Item-->
|
<!--end::Item-->
|
||||||
@else
|
@else
|
||||||
<!--begin::Item-->
|
<!--begin::Item-->
|
||||||
|
@ -24,12 +24,12 @@
|
|||||||
</div>
|
</div>
|
||||||
<!--end::Actions-->
|
<!--end::Actions-->
|
||||||
@endif
|
@endif
|
||||||
@elseif(isset($route[2]) && $route[2] == 'index' && $route[0] == 'user')
|
@elseif(isset($route[2]) && $route[2] == 'index')
|
||||||
@if($route[1]!=='users')
|
@if($route[1]!=='users')
|
||||||
<!--begin::Actions-->
|
<!--begin::Actions-->
|
||||||
<div class="d-flex align-items-center gap-2 gap-lg-3">
|
<div class="d-flex align-items-center gap-2 gap-lg-3">
|
||||||
<!--begin::Primary button-->
|
<!--begin::Primary button-->
|
||||||
<a href="{{ route($route[0].'.'.$route[1].'.create') }}" class="btn btn-sm fw-bold btn-primary text-capitalize" data-bs-toggle="modal" data-bs-target="#kt_modal_{{ $route[0] }}_{{ $route[1] }}">Add {{ str_replace('-',' ',$route[1]) }} {{ str_replace('-',' ',$route[0]) }}</a>
|
<a href="{{ route($route[0].'.'.$route[1].'.create') }}" class="btn btn-sm fw-bold btn-primary text-capitalize" data-bs-toggle="modal" data-bs-target="#kt_modal_{{ $route[0] }}_{{ $route[1] }}">Add {{ str_replace('-',' ',$route[1]) }}</a>
|
||||||
<!--end::Primary button-->
|
<!--end::Primary button-->
|
||||||
</div>
|
</div>
|
||||||
<!--end::Actions-->
|
<!--end::Actions-->
|
||||||
|
Loading…
Reference in New Issue
Block a user