public function adminColEncodeStatus()
    {
        if (!$encode = $this->encoding()) {
            return '<span class="label">Pending</span>';
        }
        switch ($encode->status) {
            case 'pending':
                return '<span class="label">'.ucfirst($encode->status).'</span>';

            case 'error':
            case 'cancelled':
                return '<span class="label label-important">'.ucfirst($encode->status).'</span>';

            case 'queued':
            case 'processing':
                return '<span class="label label-info">'.ucfirst($encode->status).'</span>';

            case 'complete':
                return '<span class="label label-success">'.ucfirst($encode->status).'</span>';
        }
    }