From b22d8b0705bedf8fac014d962742332c217bb15d Mon Sep 17 00:00:00 2001 From: Subash Date: Wed, 20 Aug 2025 15:47:52 +0545 Subject: [PATCH 1/6] refactor: Update sidebar text to 'Testimonial Videos', remove unused Swiper CSS, and enhance dynamic page title in study destination template --- config/sidebar.php | 2 +- resources/views/client/raffles/layouts/app.blade.php | 1 - .../views/client/raffles/layouts/partials/header.blade.php | 2 +- .../client/raffles/pages/study-destination-template.blade.php | 2 +- 4 files changed, 3 insertions(+), 4 deletions(-) diff --git a/config/sidebar.php b/config/sidebar.php index f78fb9b..7f6bf0c 100644 --- a/config/sidebar.php +++ b/config/sidebar.php @@ -146,7 +146,7 @@ return [ ], [ - 'text' => 'Gallery', + 'text' => 'Testimonial Videos', 'icon' => ' ri-camera-line', 'module' => 'CCMS', 'submenu' => [ diff --git a/resources/views/client/raffles/layouts/app.blade.php b/resources/views/client/raffles/layouts/app.blade.php index a2ac94e..608216e 100644 --- a/resources/views/client/raffles/layouts/app.blade.php +++ b/resources/views/client/raffles/layouts/app.blade.php @@ -46,7 +46,6 @@ - @stack('css') diff --git a/resources/views/client/raffles/layouts/partials/header.blade.php b/resources/views/client/raffles/layouts/partials/header.blade.php index 9dba27a..f51b589 100644 --- a/resources/views/client/raffles/layouts/partials/header.blade.php +++ b/resources/views/client/raffles/layouts/partials/header.blade.php @@ -8,7 +8,7 @@
diff --git a/resources/views/client/raffles/pages/study-destination-template.blade.php b/resources/views/client/raffles/pages/study-destination-template.blade.php index e7e2135..cb2c784 100644 --- a/resources/views/client/raffles/pages/study-destination-template.blade.php +++ b/resources/views/client/raffles/pages/study-destination-template.blade.php @@ -62,7 +62,7 @@

- Why Study in UK + Why Study in {{ $page->title }}

From 76fff2effc7bcc2151b6f2159f80a18d92986cd9 Mon Sep 17 00:00:00 2001 From: Subash Date: Wed, 20 Aug 2025 16:33:36 +0545 Subject: [PATCH 2/6] changes --- .../client/raffles/layouts/app.blade.php | 11 +++++++++++ .../raffles/layouts/partials/header.blade.php | 3 ++- .../pages/test-single-template.blade.php | 19 ++++++++++--------- 3 files changed, 23 insertions(+), 10 deletions(-) diff --git a/resources/views/client/raffles/layouts/app.blade.php b/resources/views/client/raffles/layouts/app.blade.php index 608216e..f987415 100644 --- a/resources/views/client/raffles/layouts/app.blade.php +++ b/resources/views/client/raffles/layouts/app.blade.php @@ -603,7 +603,18 @@ }, }); +
diff --git a/resources/views/client/raffles/layouts/partials/header.blade.php b/resources/views/client/raffles/layouts/partials/header.blade.php index f51b589..1410443 100644 --- a/resources/views/client/raffles/layouts/partials/header.blade.php +++ b/resources/views/client/raffles/layouts/partials/header.blade.php @@ -49,7 +49,8 @@ alt="">
-
{{ $country->title }} +
Study in + {{ $country->title }}
{{ $country->short_description }}
diff --git a/resources/views/client/raffles/pages/test-single-template.blade.php b/resources/views/client/raffles/pages/test-single-template.blade.php index 6929ace..cb2c784 100644 --- a/resources/views/client/raffles/pages/test-single-template.blade.php +++ b/resources/views/client/raffles/pages/test-single-template.blade.php @@ -1,18 +1,18 @@ @extends('client.raffles.layouts.app') @section('content') - @php - $firstAcc = $page->children[0]; - @endphp + +
- study uk + study uk
-

{{ $page->title }}

+

Study in {{ $page->title }}

- @if ($page->children->count() > 0) + + @if ($page->children)
@@ -36,7 +36,7 @@
-

{{ $child->title }}

+

{{ $child->short_description }}

{!! $child->description !!}

@@ -44,7 +44,7 @@
+ src="{{ asset($child->image) }}" alt="">

- Why {{ $page->title }}? + Why Study in {{ $page->title }}

@@ -162,5 +162,6 @@
@endif + @include('client.raffles.pages.call-request')
@endsection From 74a1ec0c6d260d1e0392af882b6a758e56b6122c Mon Sep 17 00:00:00 2001 From: Subash Date: Wed, 20 Aug 2025 16:37:50 +0545 Subject: [PATCH 3/6] changes --- .../client/raffles/pages/test-single-template.blade.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/resources/views/client/raffles/pages/test-single-template.blade.php b/resources/views/client/raffles/pages/test-single-template.blade.php index cb2c784..e27d5b6 100644 --- a/resources/views/client/raffles/pages/test-single-template.blade.php +++ b/resources/views/client/raffles/pages/test-single-template.blade.php @@ -8,7 +8,7 @@
-

Study in {{ $page->title }}

+

{{ $page->title }}

@@ -36,7 +36,7 @@
-

{{ $child->short_description }}

+

{{ $child->title }}

{!! $child->description !!}

@@ -62,7 +62,7 @@

- Why Study in {{ $page->title }} + {{ $page->title }} FAQ's

From adf293bd153849d194390c630c9edf16a356b252 Mon Sep 17 00:00:00 2001 From: Subash Date: Wed, 20 Aug 2025 16:41:52 +0545 Subject: [PATCH 4/6] chnages --- .../components/custom-form-field.blade.php | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/Modules/CCMS/resources/views/components/custom-form-field.blade.php b/Modules/CCMS/resources/views/components/custom-form-field.blade.php index 011abf6..903ca54 100644 --- a/Modules/CCMS/resources/views/components/custom-form-field.blade.php +++ b/Modules/CCMS/resources/views/components/custom-form-field.blade.php @@ -13,29 +13,29 @@
@for ($i = 0; $i < $loopCount; $i++)
-
- @if ($i == 0) - {{ html()->label('Icon')->class('form-label')->for('icon[]') }} +
+ @if ($i == 0) + {{ html()->label('Questions')->class('form-label')->for('icon[]') }} @endif {{ html()->text('icon[]')->value($data[$i]['icon'] ?? old('icon[]'))->class('form-control')->placeholder('Icon class') }}
-
- @if ($i == 0) - {{ html()->label('Title')->class('form-label')->for('key[]') }} +
+ @if ($i == 0) + {{ html()->label('Answer')->class('form-label')->for('key[]') }} @endif {{ html()->text('key[]')->value($data[$i]['key'] ?? old('key[]'))->class('form-control')->placeholder('Enter Title') }}
-
- @if ($i == 0) +
+ @if ($i == 0) {{ html()->label('Content')->class('form-label')->for('value[]') }} @endif {{ html()->textarea('value[]')->value($data[$i]['value'] ?? old('value[]'))->class('form-control')->placeholder('Enter Content')->rows(1) }}
- @if ($i == 0) + @if ($i == 0) @endif
From 3248b18efeaf8e3253b9d632e94c46a509be17ac Mon Sep 17 00:00:00 2001 From: Subash Date: Wed, 20 Aug 2025 17:13:28 +0545 Subject: [PATCH 5/6] refactor: Adjust layout of custom form fields and update placeholder text for clarity --- .../components/custom-form-field.blade.php | 29 ++++++++++--------- 1 file changed, 15 insertions(+), 14 deletions(-) diff --git a/Modules/CCMS/resources/views/components/custom-form-field.blade.php b/Modules/CCMS/resources/views/components/custom-form-field.blade.php index 903ca54..3e869aa 100644 --- a/Modules/CCMS/resources/views/components/custom-form-field.blade.php +++ b/Modules/CCMS/resources/views/components/custom-form-field.blade.php @@ -13,31 +13,28 @@
@for ($i = 0; $i < $loopCount; $i++)
-
- @if ($i == 0) +
+ {{-- @if ($i == 0) {{ html()->label('Questions')->class('form-label')->for('icon[]') }} - @endif - {{ html()->text('icon[]')->value($data[$i]['icon'] ?? old('icon[]'))->class('form-control')->placeholder('Icon class') }} + @endif --}} + {{ html()->text('icon[]')->value($data[$i]['icon'] ?? old('icon[]'))->class('form-control')->placeholder('Enter Question') }}
-
- @if ($i == 0) +
+ {{-- @if ($i == 0) {{ html()->label('Answer')->class('form-label')->for('key[]') }} - @endif - {{ html()->text('key[]')->value($data[$i]['key'] ?? old('key[]'))->class('form-control')->placeholder('Enter Title') }} + @endif --}} + {{ html()->text('key[]')->value($data[$i]['key'] ?? old('key[]'))->class('form-control')->placeholder('Enter Answer') }}
-
+ {{--
@if ($i == 0) {{ html()->label('Content')->class('form-label')->for('value[]') }} @endif {{ html()->textarea('value[]')->value($data[$i]['value'] ?? old('value[]'))->class('form-control')->placeholder('Enter Content')->rows(1) }} -
+
--}} -
- @if ($i == 0) - - @endif + + +
+
+
@endfor
From 54c1fc467930bf558438abd67adc3594eeb8d2fa Mon Sep 17 00:00:00 2001 From: Subash Date: Wed, 20 Aug 2025 17:13:56 +0545 Subject: [PATCH 6/6] refactor: Update card title from 'Custom Fields' to 'FAQ's Section' for clarity --- .../CCMS/resources/views/components/custom-form-field.blade.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Modules/CCMS/resources/views/components/custom-form-field.blade.php b/Modules/CCMS/resources/views/components/custom-form-field.blade.php index 3e869aa..8cca247 100644 --- a/Modules/CCMS/resources/views/components/custom-form-field.blade.php +++ b/Modules/CCMS/resources/views/components/custom-form-field.blade.php @@ -5,7 +5,7 @@
- Custom Fields + FAQ's Section