mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2024-11-30 04:33:54 -06:00
28 lines
1005 B
PHP
28 lines
1005 B
PHP
<table class="table table-striped table-bordered">
|
|
<tr>
|
|
<th> </th>
|
|
<th>Name</th>
|
|
<th>Last activity</th>
|
|
</tr>
|
|
@foreach($categories as $category)
|
|
<tr>
|
|
<td>
|
|
<div class="btn-group btn-group-xs">
|
|
<a href="{{route('categories.edit',$category->id)}}" class="btn btn-default btn-xs"><span class="glyphicon glyphicon-pencil"></span></a>
|
|
<a href="{{route('categories.delete',$category->id)}}" class="btn btn-danger btn-xs"><span class="glyphicon glyphicon-trash"></span></a>
|
|
</div>
|
|
</td>
|
|
<td>
|
|
<a href="{{route('categories.show',$category->id)}}" title="{{{$category->name}}}">{{{$category->name}}}</a>
|
|
</td>
|
|
<td>
|
|
<?php $active = $category->lastActionDate(); ?>
|
|
@if($active)
|
|
{{{$active->format('j F Y')}}}
|
|
@else
|
|
<em>Never</em>
|
|
@endif
|
|
</td>
|
|
</tr>
|
|
@endforeach
|
|
</table>
|