@extends('layouts.project') @section('subtitle', __('project.issues')) @section('action-buttons') @can('create', new App\Entities\Projects\Issue) {!! html_link_to_route('projects.issues.create', __('issue.create'), $project, ['class' => 'btn btn-success', 'icon' => 'plus']) !!} @endcan @endsection @section('content-project')

{{ __('project.issues') }}

@forelse($issues as $key => $issue) @php $no = 1 + $key; @endphp @empty @endforelse
{{ __('app.table_no') }} {{ __('issue.title') }} {{ __('issue.priority') }} {{ __('app.status') }} {{ __('issue.pic') }} {{ __('issue.creator') }} {{ __('app.action') }}
{{ $no }} {{ $issue->title }} {!! $issue->priority_label !!} {!! $issue->status_label !!} {{ $issue->pic->name }} {{ $issue->creator->name }} {{ link_to_route( 'projects.issues.show', __('app.show'), [$project, $issue], ['title' => __('issue.show')] ) }}
{{ __('issue.empty') }}
@endsection