mirror of
https://github.com/snipe/snipe-it.git
synced 2024-12-25 13:44:06 -08:00
Added alt tags to assigned assets view
This commit is contained in:
parent
3552fb1fd8
commit
80ac2607cd
|
@ -67,10 +67,10 @@ View Assets for {{ $user->present()->fullName() }}
|
|||
<td>{{ $asset->serial }}</td>
|
||||
<td>
|
||||
@if (($asset->image) && ($asset->image!=''))
|
||||
<img src="{{ url('/') }}/uploads/assets/{{ $asset->image }}" height="50" width="50">
|
||||
<img src="{{ url('/') }}/uploads/assets/{{ $asset->image }}" height="50" width="50" alt="{{ $asset->present()->name() }}">
|
||||
|
||||
@elseif (($asset->model) && ($asset->model->image!=''))
|
||||
<img src="{{ url('/') }}/uploads/models/{{ $asset->model->image }}" height="50" width="50">
|
||||
<img src="{{ url('/') }}/uploads/models/{{ $asset->model->image }}" height="50" width="50" alt="{{ $asset->present()->name() }}">
|
||||
@endif
|
||||
</td>
|
||||
</tr>
|
||||
|
|
Loading…
Reference in a new issue