Fixes #757 - use showAssetName method
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
<?php
|
||||
return array (
|
||||
'app_version' => 'v1.2.6.1-227',
|
||||
'hash_version' => 'v1.2.6.1-227-gbce0654',
|
||||
'app_version' => 'v1.2.6.1-228',
|
||||
'hash_version' => 'v1.2.6.1-228-ga0fce2e',
|
||||
);
|
||||
@@ -48,15 +48,13 @@
|
||||
<td>{{{ $activity->adminlog->fullName() }}}</td>
|
||||
|
||||
<td>
|
||||
@if ($activity->asset_type=="hardware")
|
||||
{{{ $activity->assetlog->name }}}
|
||||
@elseif ($activity->asset_type=="software")
|
||||
@if ($activity->licenselog)
|
||||
{{{ $activity->licenselog->name }}}
|
||||
@endif
|
||||
@elseif ($activity->asset_type=="accessory")
|
||||
{{{ $activity->accessorylog->name }}}
|
||||
@endif
|
||||
@if ($activity->asset_type=="hardware")
|
||||
{{ $activity->assetlog->showAssetName() }}
|
||||
@elseif ($activity->asset_type=="software")
|
||||
{{ $activity->licenselog->name }}
|
||||
@elseif ($activity->asset_type=="accessory")
|
||||
{{ $activity->accessorylog->name }}
|
||||
@endif
|
||||
|
||||
</td>
|
||||
<td>
|
||||
|
||||
Reference in New Issue
Block a user