@if (!$project->trashed())
@if ($editProjectPermission == 'all' || ($editProjectPermission == 'added' && $project->added_by == user()->id) || ($project->project_admin == user()->id))
@else
@if ($project->status == 'in progress') {{ __('app.inProgress') }}
@elseif ($project->status == 'on hold')
{{ __('app.onHold') }}
@elseif ($project->status == 'not started')
{{ __('app.notStarted') }}
@elseif ($project->status == 'canceled')
{{ __('app.canceled') }}
@elseif ($project->status == 'finished')
{{ __('app.finished') }}
@endif
@endif
@if ($projectPin)
@lang('app.pinned')
@endif
@else
@lang('app.unarchive')
@endif
{{-- Custom fields data --}}
@if (isset($fields) && count($fields) > 0)
@foreach ($fields as $field)
@if ($field->type == 'text' || $field->type == 'password' || $field->type == 'number')
@elseif($field->type == 'textarea')
@elseif($field->type == 'radio')
@elseif($field->type == 'checkbox')
@elseif($field->type == 'select')
@elseif($field->type == 'date')
@endif
@endforeach