Update Metronic Version to 8.2.1 #1

Merged
putrakuningan merged 77 commits from dev into master 2024-05-04 09:46:45 +00:00
2 changed files with 10 additions and 10 deletions
Showing only changes of commit 4d0ae48d3f - Show all commits

View File

@ -6,12 +6,12 @@
<!--begin::Title-->
<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($route[1] !== 'index' && $route[1] !== 'users')
{{ $route[1] }}
@endif
@endif
{{ ucfirst(str_replace('-',' ',$route[0])) }}
</h1>
<!--end::Title-->
<!--begin::Breadcrumb-->
@ -38,7 +38,7 @@
</li>
<!--end::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-->
@else
<!--begin::Item-->

View File

@ -9,12 +9,12 @@
@if(isset($route[1]) && $route[1] == 'index')
@if($route[0]=='document')<!--begin::Actions-->
<div class="d-flex align-items-center gap-2 gap-lg-3">
<!--begin::Primary button-->
<a href="{{ route($route[0].'.create') }}" class="btn btn-sm fw-bold btn-primary text-capitalize">Add {{ str_replace('-',' ',$route[0]) }}</a>
<!--end::Primary button-->
</div>
<!--end::Actions-->
<div class="d-flex align-items-center gap-2 gap-lg-3">
<!--begin::Primary button-->
<a href="{{ route($route[0].'.create') }}" class="btn btn-sm fw-bold btn-primary text-capitalize">Add {{ str_replace('-',' ',$route[0]) }}</a>
<!--end::Primary button-->
</div>
<!--end::Actions-->
@else
<!--begin::Actions-->
<div class="d-flex align-items-center gap-2 gap-lg-3">
@ -24,12 +24,12 @@
</div>
<!--end::Actions-->
@endif
@elseif(isset($route[2]) && $route[2] == 'index' && $route[0] == 'user')
@elseif(isset($route[2]) && $route[2] == 'index')
@if($route[1]!=='users')
<!--begin::Actions-->
<div class="d-flex align-items-center gap-2 gap-lg-3">
<!--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-->
</div>
<!--end::Actions-->