Skip to content

Commit

Permalink
App store pre-sale on category page.
Browse files Browse the repository at this point in the history
  • Loading branch information
cuneytsenturk committed Jan 31, 2019
1 parent badc8c6 commit 5330447
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion app/Http/Controllers/Modules/Item.php
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ public function show($alias)
$module->action_url .= $character . http_build_query($parameters);
}

if ($module->status == 'pre_sale') {
if ($module->status_type == 'pre_sale') {
return view('modules.item.pre_sale', compact('module', 'installed', 'enable'));
}

Expand Down
6 changes: 3 additions & 3 deletions resources/views/modules/tiles/index.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@

@if ($modules)
@foreach ($modules->data as $module)
@if ($module->status == 'active')
@include('partials.modules.item')
@else
@if ($module->status_type == 'pre_sale')
@include('partials.modules.pre_sale')
@else
@include('partials.modules.item')
@endif
@endforeach
<div class="col-md-12 no-padding-left">
Expand Down

0 comments on commit 5330447

Please sign in to comment.