Skip to content

Commit

Permalink
fixed button states to reflect correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
Oke Ugwu committed Jun 29, 2015
1 parent f9c1a96 commit eda26f4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/Cme/Web/Views/dashboard/home.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
<div class="text-center" style="background:url('/assets/img/icon_email_list.png') no-repeat center top; padding-top:140px; <?= ($state->enableList)? '' : 'opacity: 0.5' ?>">
<p style="font-size: 30px;">1. Create a List</p>
<p>Import your list from a CSV file or an API</p>
<a <?= ($state->enableList)? 'href="/lists/new"' : '' ?> class="btn <?= ($state->enableList)? 'btn-cme' : 'btn-success disabled' ?>"><?= (!$state->listCompleted)? 'Create a List' : 'Completed!' ?></a>
<a <?= ($state->enableList)? 'href="/lists/new"' : '' ?> class="btn <?= ($state->enableList)? 'btn-cme' : ((!$state->listCompleted)? 'btn-default' : 'btn-success').' disabled' ?>"><?= (!$state->listCompleted)? 'Create a List' : 'Completed!' ?></a>
</div>

</div>
Expand All @@ -49,7 +49,7 @@
<div class="text-center" style="background:url('/assets/img/icon_brand.png') no-repeat center top; padding-top:140px; <?= ($state->enableBrand)? '' : 'opacity: 0.5' ?>">
<p style="font-size: 30px;">2. Create a Brand</p>
<p>To help keep things organized.</p>
<a <?= ($state->enableBrand)? 'href="/brands/new"' : '' ?> class="btn <?= ($state->enableBrand)? 'btn-cme' : 'btn-success disabled' ?>"><?= (!$state->brandCompleted)? 'Create a Brand' : 'Completed!' ?></a>
<a <?= ($state->enableBrand)? 'href="/brands/new"' : '' ?> class="btn <?= ($state->enableBrand)? 'btn-cme' : ((!$state->brandCompleted)? 'btn-default' : 'btn-success').' disabled' ?>"><?= (!$state->brandCompleted)? 'Create a Brand' : 'Completed!' ?></a>
</div>
</div>

Expand Down

0 comments on commit eda26f4

Please sign in to comment.