2015-06-21 04:59:35 -05:00
|
|
|
<table class="table table-hover sortable">
|
2015-05-02 02:21:42 -05:00
|
|
|
<thead>
|
2015-06-27 01:06:24 -05:00
|
|
|
<tr>
|
|
|
|
<th data-defaultsort="disabled"> </th>
|
2016-11-20 10:36:11 -06:00
|
|
|
<th data-defaultsign="az">{{ trans('list.name') }}</th>
|
|
|
|
<th data-defaultsign="month" class="hidden-sm hidden-xs">{{ trans('list.lastActivity') }}</th>
|
2015-06-27 01:06:24 -05:00
|
|
|
</tr>
|
2015-05-02 02:21:42 -05:00
|
|
|
</thead>
|
|
|
|
<tbody>
|
|
|
|
<tr>
|
|
|
|
<td> </td>
|
2016-12-05 23:52:17 -06:00
|
|
|
<td><a href="{{ route('categories.no-category') }}"><em>{{ 'without_category'|_ }}</em></a></td>
|
2015-06-25 10:06:20 -05:00
|
|
|
<td class="hidden-sm hidden-xs"> </td>
|
2015-05-02 02:21:42 -05:00
|
|
|
</tr>
|
|
|
|
{% for category in categories %}
|
2015-06-27 01:06:24 -05:00
|
|
|
<tr>
|
|
|
|
<td>
|
|
|
|
<div class="btn-group btn-group-xs">
|
|
|
|
<a href="{{ route('categories.edit', category.id) }}" class="btn btn-default btn-xs"><i class="fa fa-fw fa-pencil"></i></a>
|
|
|
|
<a href="{{ route('categories.delete', category.id) }}" class="btn btn-danger btn-xs"><i class="fa fa-fw fa-trash-o"></i></a>
|
|
|
|
</div>
|
2015-05-02 02:21:42 -05:00
|
|
|
</td>
|
2016-11-20 10:36:11 -06:00
|
|
|
<td data-value="{{ category.name }}">
|
2015-06-27 01:06:24 -05:00
|
|
|
<a href="{{ route('categories.show', category.id) }}" title="{{ category.name }}">{{ category.name }}</a>
|
2015-05-02 02:21:42 -05:00
|
|
|
</td>
|
2016-04-05 15:00:03 -05:00
|
|
|
{% if category.lastActivity.year != "1900" %}
|
2016-11-20 10:36:11 -06:00
|
|
|
<td class="hidden-sm hidden-xs" data-value="{{ category.lastActivity.format('Y-m-d H-i-s') }}">
|
2015-06-27 01:06:24 -05:00
|
|
|
{{ category.lastActivity.formatLocalized(monthAndDayFormat) }}
|
|
|
|
</td>
|
|
|
|
{% else %}
|
2016-11-20 10:36:11 -06:00
|
|
|
<td class="hidden-sm hidden-xs" data-value="0000-00-00 00-00-00">
|
2015-06-27 01:06:24 -05:00
|
|
|
<em>{{ 'never'|_ }}</em>
|
|
|
|
</td>
|
|
|
|
{% endif %}
|
|
|
|
</tr>
|
2015-05-02 02:21:42 -05:00
|
|
|
{% endfor %}
|
|
|
|
</tbody>
|
|
|
|
</table>
|