From eda26f4119139c7b2aa6f281845f5e435050e331 Mon Sep 17 00:00:00 2001 From: Oke Ugwu Date: Mon, 29 Jun 2015 09:42:06 +0100 Subject: [PATCH] fixed button states to reflect correctly --- app/Cme/Web/Views/dashboard/home.blade.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/Cme/Web/Views/dashboard/home.blade.php b/app/Cme/Web/Views/dashboard/home.blade.php index 81ffdf9..9709a0c 100644 --- a/app/Cme/Web/Views/dashboard/home.blade.php +++ b/app/Cme/Web/Views/dashboard/home.blade.php @@ -40,7 +40,7 @@

1. Create a List

Import your list from a CSV file or an API

- enableList)? 'href="/lists/new"' : '' ?> class="btn enableList)? 'btn-cme' : 'btn-success disabled' ?>">listCompleted)? 'Create a List' : 'Completed!' ?> + enableList)? 'href="/lists/new"' : '' ?> class="btn enableList)? 'btn-cme' : ((!$state->listCompleted)? 'btn-default' : 'btn-success').' disabled' ?>">listCompleted)? 'Create a List' : 'Completed!' ?>
@@ -49,7 +49,7 @@

2. Create a Brand

To help keep things organized.

- enableBrand)? 'href="/brands/new"' : '' ?> class="btn enableBrand)? 'btn-cme' : 'btn-success disabled' ?>">brandCompleted)? 'Create a Brand' : 'Completed!' ?> + enableBrand)? 'href="/brands/new"' : '' ?> class="btn enableBrand)? 'btn-cme' : ((!$state->brandCompleted)? 'btn-default' : 'btn-success').' disabled' ?>">brandCompleted)? 'Create a Brand' : 'Completed!' ?>