From 27902185302cac4888472a6fab70953379d7bfa3 Mon Sep 17 00:00:00 2001 From: James Brooks Date: Sun, 4 Jan 2015 17:54:47 +0000 Subject: [PATCH] Only show drag handle if we have more than one component --- app/views/dashboard/components/index.blade.php | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/app/views/dashboard/components/index.blade.php b/app/views/dashboard/components/index.blade.php index dbcc53f5..8ed3cc92 100644 --- a/app/views/dashboard/components/index.blade.php +++ b/app/views/dashboard/components/index.blade.php @@ -17,7 +17,12 @@ @forelse($components as $component)
-

{{ $component->name }} {{ $component->humanStatus }}

+

+ @if($components->count() > 1) + + @endif + {{ $component->name }} {{ $component->humanStatus }} +

@if($component->description)

{{ $component->description }}

@endif