Created
August 30, 2016 03:48
-
-
Save evercode1/5164aba1f0bb15b26a69c12a3bb2dddc to your computer and use it in GitHub Desktop.
Revisions
-
evercode1 created this gist
Aug 30, 2016 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,29 @@ <table class="table table-hover table-bordered table-striped"> <thead> <th>Thumbnail</th> <th>Name</th> <th>Weight</th> <th>Featured</th> <th>Active</th> <th>Date Created</th> </thead> <tbody> @foreach($marketingImages as $marketingImage) <tr> <td><a href="/marketing-image/{{ $marketingImage->id }}"><img src="{{ $marketingImage->showImage($marketingImage, $thumbnailPath) }}"></a></td> <td><a href="/marketing-image/{{ $marketingImage->id }}">{{ $marketingImage->image_name }}</a></td> <td>{{ $marketingImage->image_weight }}</td> <td>{{ $marketingImage->showFeaturedStatus($marketingImage->is_featured) }}</td> <td>{{ $marketingImage->showActiveStatus($marketingImage->is_active)}}</td> <td>{{ $marketingImage->created_at }}</td> </tr> @endforeach </tbody> </table>