@extends('theme.master') @section('title', 'Wishlist') @section('content') @include('admin.message') {{ __('frontstaticword.Wishlist') }} @php $item = App\Wishlist::where('user_id', Auth::User()->id)->get(); @endphp @if(count($item) > 0) @foreach($wishlist as $wish) @if($wish->user_id == Auth::User()->id) @if($wish->courses['preview_image'] !== NULL && $wish->courses['preview_image'] !== '') @else @endif {{ str_limit($wish->courses->title, $limit = 35, $end = '...') }} by {{ $wish->courses->user->fname }} {{-- star rating --}}
by {{ $wish->courses->user->fname }}