Skip to content

A free open source IT asset/license management system

Fixes #2491 - show asset tag on dashboard

snipe0d088f3031c2
diff --git a/resources/views/dashboard.blade.php b/resources/views/dashboard.blade.php
index f59ad3d516..a2edef1c58 100755
--- a/resources/views/dashboard.blade.php
+++ b/resources/views/dashboard.blade.php
@@ -141,7 +141,7 @@
</td>
<td>
@if (($activity->assetlog) && ($activity->asset_type=="hardware"))
- <a href="{{ route('view/hardware', $activity->asset_id) }}">{{ $activity->assetlog->showAssetName() }}</a>
+ <a href="{{ route('view/hardware', $activity->asset_id) }}">{{ $activity->assetlog->asset_tag }} - {{ $activity->assetlog->showAssetName() }}</a>
@elseif (($activity->licenselog) && ($activity->asset_type=="software"))
<a href="{{ route('view/license', $activity->asset_id) }}">{{ $activity->licenselog->name }}</a>
@elseif (($activity->consumablelog) && ($activity->asset_type=="consumable"))