You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
39 lines
1.2 KiB
39 lines
1.2 KiB
@extends('layouts.project')
|
|
|
|
@section('subtitle', __('project.issues'))
|
|
|
|
@section('content-project')
|
|
<div id="project-issues" class="panel panel-default table-responsive">
|
|
<div class="panel-heading">
|
|
<h3 class="panel-title">{{ __('project.issues') }}</h3>
|
|
</div>
|
|
<table class="table table-condensed table-striped">
|
|
<thead>
|
|
<th>{{ __('app.table_no') }}</th>
|
|
<th>{{ __('issue.title') }}</th>
|
|
<th class="text-center">{{ __('app.action') }}</th>
|
|
</thead>
|
|
<tbody>
|
|
@forelse($issues as $key => $issue)
|
|
@php
|
|
$no = 1 + $key;
|
|
@endphp
|
|
<tr id="{{ $issue->id }}">
|
|
<td>{{ $no }}</td>
|
|
<td>{{ $issue->title }}</td>
|
|
<td class="text-center">
|
|
{{ link_to_route(
|
|
'projects.issues.show',
|
|
__('app.show'),
|
|
[$project, $issue],
|
|
['class' => 'small', 'title' => __('issue.show')]
|
|
) }}
|
|
</td>
|
|
</tr>
|
|
@empty
|
|
<tr><td colspan="3">{{ __('issue.empty') }}</td></tr>
|
|
@endforelse
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
@endsection
|