From fcae5436fa74037c860bd3f484ba93ae6d8734ba Mon Sep 17 00:00:00 2001 From: Nicolas Demangeat Date: Mon, 29 Jul 2024 11:08:15 +0200 Subject: [PATCH] fix: issue-61 for unveil blade --- resources/views/fo/pages/unveil.blade.php | 54 +++++++++++------------ 1 file changed, 26 insertions(+), 28 deletions(-) diff --git a/resources/views/fo/pages/unveil.blade.php b/resources/views/fo/pages/unveil.blade.php index b18fd96..f66c8a9 100644 --- a/resources/views/fo/pages/unveil.blade.php +++ b/resources/views/fo/pages/unveil.blade.php @@ -200,38 +200,36 @@ title="{{ $historicalMilestoneModel->picture_title }}" alt="{{ $historicalMilestoneModel->picture_alt }}"> @endif -
-
-
-

- {{ $historicalMilestoneModel->year }} +

+
+

+ {{ $historicalMilestoneModel->year }} +

+
+ @if ($historicalMilestoneModel->picture) + {{ $historicalMilestoneModel->picture_alt }} + @endif +
+
+

+ {{ $historicalMilestoneModel->title }}

-
- @if ($historicalMilestoneModel->picture) - {{ $historicalMilestoneModel->picture_alt }} - @endif -
-
-

- {{ $historicalMilestoneModel->title }} + @if ($historicalMilestoneModel->text) +

+ {{ $historicalMilestoneModel->text }}

- @if ($historicalMilestoneModel->text) -

- {{ $historicalMilestoneModel->text }} -

- @endif -
- @if ($historicalMilestoneModel->button_status) - button_new_tab) target="_blank" @endif> - {{ $historicalMilestoneModel->button_label }} - @endif
+ @if ($historicalMilestoneModel->button_status) + button_new_tab) target="_blank" @endif> + {{ $historicalMilestoneModel->button_label }} + + @endif