mirror of
https://github.com/snipe/snipe-it.git
synced 2025-02-21 03:15:45 -08:00
Audit tweaks
This commit is contained in:
parent
16f57e16cb
commit
bd02b9ed62
|
@ -168,7 +168,7 @@
|
||||||
</div><!-- /.responsive -->
|
</div><!-- /.responsive -->
|
||||||
</div><!-- /.col -->
|
</div><!-- /.col -->
|
||||||
<div class="col-md-12 text-center" style="padding-top: 10px;">
|
<div class="col-md-12 text-center" style="padding-top: 10px;">
|
||||||
<a href="{{ route('reports/activity') }}" class="btn btn-primary btn-sm" style="width: 100%">View All</a>
|
<a href="{{ route('reports.activity') }}" class="btn btn-primary btn-sm" style="width: 100%">View All</a>
|
||||||
</div>
|
</div>
|
||||||
</div><!-- /.row -->
|
</div><!-- /.row -->
|
||||||
</div><!-- ./box-body -->
|
</div><!-- ./box-body -->
|
||||||
|
|
|
@ -113,7 +113,7 @@
|
||||||
<td>{{ $asset->serial }}</td>
|
<td>{{ $asset->serial }}</td>
|
||||||
</tr>
|
</tr>
|
||||||
@endif
|
@endif
|
||||||
@if ($audit_log->created_at)
|
@if ((isset($audit_log)) && ($audit_log->created_at))
|
||||||
<tr>
|
<tr>
|
||||||
<td>{{ trans('general.last_audit') }}</td>
|
<td>{{ trans('general.last_audit') }}</td>
|
||||||
<td> {{ \App\Helpers\Helper::getFormattedDateObject($audit_log->created_at, 'date', false) }} (by {{ link_to_route('users.show', $audit_log->user->present()->fullname(), [$audit_log->user->id]) }})</td>
|
<td> {{ \App\Helpers\Helper::getFormattedDateObject($audit_log->created_at, 'date', false) }} (by {{ link_to_route('users.show', $audit_log->user->present()->fullname(), [$audit_log->user->id]) }})</td>
|
||||||
|
|
Loading…
Reference in a new issue