From 975b266cb02b12699e0fd78d4afb4a7915df9239 Mon Sep 17 00:00:00 2001 From: snipe Date: Fri, 20 May 2016 01:17:00 -0700 Subject: [PATCH] Icon display on recent activity --- resources/views/dashboard.blade.php | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/resources/views/dashboard.blade.php b/resources/views/dashboard.blade.php index 0a320c4d43..6db1053083 100755 --- a/resources/views/dashboard.blade.php +++ b/resources/views/dashboard.blade.php @@ -88,6 +88,7 @@ + @@ -99,6 +100,21 @@ @if (count($recent_activity) > 0) @foreach ($recent_activity as $activity) +
{{ trans('general.date') }} {{ trans('general.admin') }} {{ trans('table.actions') }}
+ @if ($activity->asset_type=="hardware") + + @elseif ($activity->asset_type=="accessory") + + @elseif ($activity->asset_type=="consumable") + + @elseif ($activity->asset_type=="license") + + @elseif ($activity->asset_type=="component") + + @else + + @endif + {{ date("M d, Y H:iA", strtotime($activity->created_at)) }} @if ($activity->action_type!='requested')