@extends('admin.layout') @section('admin-title') Current Affiliates @endsection @section('admin-content') {!! breadcrumbs(['Admin Panel' => 'admin', 'Affiliates' => 'admin/affiliates']) !!}

Current Site Affiliates

This is a list of currently accepted affiliates to your website. You can automatically create an affiliate without going through the approval process by hitting "Create New Affiliate".

Create New Affiliate
@if (!count($affiliates))

No affiliates found.

@else {!! $affiliates->render() !!}
Name and Icon
URL
Description
Created At
@foreach ($affiliates as $affiliate)
{!! $affiliate->icon !!} {{ $affiliate->name }} @if ($affiliate->is_featured) @endif
{{ $affiliate->description }}
{!! pretty_date($affiliate->created_at) !!}
@endforeach
{!! $affiliates->render() !!} @endif @endsection @section('scripts') @parent @endsection