Skip to content

Commit 0d088f3

Browse files
committed
Fixes #2491 - show asset tag on dashboard
1 parent a92ed97 commit 0d088f3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

resources/views/dashboard.blade.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@
141141
</td>
142142
<td>
143143
@if (($activity->assetlog) && ($activity->asset_type=="hardware"))
144-
<a href="{{ route('view/hardware', $activity->asset_id) }}">{{ $activity->assetlog->showAssetName() }}</a>
144+
<a href="{{ route('view/hardware', $activity->asset_id) }}">{{ $activity->assetlog->asset_tag }} - {{ $activity->assetlog->showAssetName() }}</a>
145145
@elseif (($activity->licenselog) && ($activity->asset_type=="software"))
146146
<a href="{{ route('view/license', $activity->asset_id) }}">{{ $activity->licenselog->name }}</a>
147147
@elseif (($activity->consumablelog) && ($activity->asset_type=="consumable"))

0 commit comments

Comments
 (0)