BugFixing: home page were blank on no items

When we had no items showing on home page, it were just blank.
Turns out that the @empty call that shows the default message
were appearing just when it had no items on a product, instead
of no items at all.

Fixed it moving the paragraph to the right place.
This commit is contained in:
Bruno F. Fontes 2018-09-29 12:09:18 -03:00
parent f56d8f4b7a
commit 8575895341

View File

@ -33,11 +33,11 @@
</div> </div>
</div> </div>
@empty @empty
<p>@lang('home.no_messages')<a href="/product">@lang('home.share_item')</a></p>
@endforelse @endforelse
</div> </div>
</div> </div>
@empty @empty
<p>@lang('home.no_messages') <a href="/product">@lang('home.share_item')</a></p>
@endforelse @endforelse
</div> </div>
</div> </div>