@extends('backend.layout') {{-- this style will be applied when the direction of language is right-to-left --}} @includeIf('backend.partials.rtl_style') @section('content')
{{ __('Projects') }}
@includeIf('backend.partials.languages')
{{ __('Add Project') }}
@if (count($projects) == 0)

{{ __('NO PROJECT FOUND!') }}

@else
@foreach ($projects as $project) @endforeach
{{ __('Title') }} {{ __('Post by') }} {{ __('Type') }} {{ __('Approval Status') }} {{ __('Featured') }} {{ __('Status') }} {{ __('Actions') }}
@php $project_content = $project->getContent($language->id); if (is_null($project_content)) { $project_content = $project->projectContents()->first(); } @endphp @if (!empty($project_content)) {{ strlen(@$project_content->title) > 100 ? mb_substr(@$project_content->title, 0, 100, 'utf-8') . '...' : @$project_content->title }} @endif @if ($project->vendor_id != 0) {{ @$project->vendor->username }} @else {{ __('Admin') }} @endif {{ __('Manage') }}
@csrf
@csrf
@csrf
@endif
@endsection