From f893b2312942d7e85e26d79f9794849a18d9d2e8 Mon Sep 17 00:00:00 2001 From: snipe Date: Thu, 2 May 2024 12:35:52 +0100 Subject: [PATCH] Refactored title blade areas Signed-off-by: snipe --- resources/views/hardware/audit-due.blade.php | 13 ++----------- resources/views/hardware/checkin-due.blade.php | 13 +------------ 2 files changed, 3 insertions(+), 23 deletions(-) diff --git a/resources/views/hardware/audit-due.blade.php b/resources/views/hardware/audit-due.blade.php index 58a944e4a9..0ee17ec23d 100644 --- a/resources/views/hardware/audit-due.blade.php +++ b/resources/views/hardware/audit-due.blade.php @@ -1,21 +1,12 @@ @extends('layouts/default') -@section('title0') - - @if ((Request::get('company_id')) && ($company)) - {{ $company->name }} - @endif - - {{ trans_choice('general.audit_due_days', $settings->audit_warning_days, ['days' => $settings->audit_warning_days]) }} - -@stop - {{-- Page title --}} @section('title') - @yield('title0') @parent + {{ trans_choice('general.audit_due_days', $settings->audit_warning_days, ['days' => $settings->audit_warning_days]) }} @stop + {{-- Page content --}} @section('content') {{-- Page content --}} diff --git a/resources/views/hardware/checkin-due.blade.php b/resources/views/hardware/checkin-due.blade.php index d764a5178e..6ed7cf42c5 100644 --- a/resources/views/hardware/checkin-due.blade.php +++ b/resources/views/hardware/checkin-due.blade.php @@ -1,21 +1,10 @@ @extends('layouts/default') -@section('title0') - - @if ((Request::get('company_id')) && ($company)) - {{ $company->name }} - @endif - - {{ trans_choice('general.checkin_due_days', $settings->audit_warning_days, ['days' => $settings->audit_warning_days]) }} - -@stop - {{-- Page title --}} @section('title') - @yield('title0') @parent + {{ trans_choice('general.checkin_due_days', $settings->audit_warning_days, ['days' => $settings->audit_warning_days]) }} @stop - {{-- Page content --}} @section('content') {{-- Page content --}}