From f5e61978557c753633e3d5df8d4b53530139007f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=BCneyt=20=C5=9Eent=C3=BCrk?= Date: Thu, 21 Jul 2022 18:22:20 +0300 Subject: [PATCH] added summary slot tooltip feature.. --- .../views/components/index/summary.blade.php | 24 +++++++++++++++++++ .../components/show/summary/right.blade.php | 24 +++++++++++++++++++ 2 files changed, 48 insertions(+) diff --git a/resources/views/components/index/summary.blade.php b/resources/views/components/index/summary.blade.php index 40fae6e4d..484230bc5 100644 --- a/resources/views/components/index/summary.blade.php +++ b/resources/views/components/index/summary.blade.php @@ -22,6 +22,10 @@ {!! $first !!} @elseif (! empty($first))
+ @if ($first->attributes->has('tooltip')) + + @endif + @if ($first->attributes->has('href')) @endif @@ -37,6 +41,10 @@ @if ($first->attributes->has('href')) @endif + + @if ($first->attributes->has('tooltip')) + + @endif
@if ($first->attributes->has('divider')) @@ -50,6 +58,10 @@ {!! $second !!} @elseif (! empty($second))
+ @if ($second->attributes->has('tooltip')) + + @endif + @if ($second->attributes->has('href')) @endif @@ -66,6 +78,10 @@ @if ($second->attributes->has('href')) @endif + + @if ($second->attributes->has('tooltip')) + + @endif
@if ($second->attributes->has('divider')) @@ -79,6 +95,10 @@ {!! $third !!} @elseif (! empty($third))
+ @if ($third->attributes->has('tooltip')) + + @endif + @if ($third->attributes->has('href')) @endif @@ -94,6 +114,10 @@ @if ($third->attributes->has('href')) @endif + + @if ($third->attributes->has('tooltip')) + + @endif
@endif @endif diff --git a/resources/views/components/show/summary/right.blade.php b/resources/views/components/show/summary/right.blade.php index 0cb42686a..f86704f71 100644 --- a/resources/views/components/show/summary/right.blade.php +++ b/resources/views/components/show/summary/right.blade.php @@ -22,6 +22,10 @@ {!! $first !!} @elseif (! empty($first))
+ @if ($first->attributes->has('tooltip')) + + @endif + @if ($first->attributes->has('href')) @endif @@ -37,6 +41,10 @@ @if ($first->attributes->has('href')) @endif + + @if ($first->attributes->has('tooltip')) + + @endif
@if ($first->attributes->has('divider')) @@ -50,6 +58,10 @@ {!! $second !!} @elseif (! empty($second))
+ @if ($second->attributes->has('tooltip')) + + @endif + @if ($second->attributes->has('href')) @endif @@ -66,6 +78,10 @@ @if ($second->attributes->has('href')) @endif + + @if ($second->attributes->has('tooltip')) + + @endif
@if ($second->attributes->has('divider')) @@ -79,6 +95,10 @@ {!! $third !!} @elseif (! empty($third))
+ @if ($third->attributes->has('tooltip')) + + @endif + @if ($third->attributes->has('href')) @endif @@ -94,6 +114,10 @@ @if ($third->attributes->has('href')) @endif + + @if ($third->attributes->has('tooltip')) + + @endif
@endif @endif