Skip to content

Commit ef5a07c

Browse files
authored
Merge pull request #873 from dbarzin/dev
Dev
2 parents e92500b + f809a86 commit ef5a07c

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

resources/views/admin/peripherals/index.blade.php

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,9 @@
3737
<th>
3838
{{ trans('cruds.peripheral.fields.responsible') }}
3939
</th>
40+
<th>
41+
{{ trans('cruds.peripheral.fields.address_ip') }}
42+
</th>
4043
<th>
4144
{{ trans('cruds.peripheral.fields.site') }}
4245
</th>
@@ -74,6 +77,9 @@
7477
<td>
7578
{{ $peripheral->responsible ?? '' }}
7679
</td>
80+
<td>
81+
{{ $peripheral->address_ip ?? '' }}
82+
</td>
7783
<td>
7884
{{ $peripheral->site->name ?? '' }}
7985
</td>

resources/views/admin/reports/logical_infrastructure.blade.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1306,7 +1306,7 @@
13061306
13071307
@can('physical_security_device_access')
13081308
@foreach($physicalSecurityDevices as $physicalSecurityDevice)
1309-
SECURITY{{ $physicalSecurityDevice->id }} [label="{{ $physicalSecurityDevice->name }} {{ Session::get('show_ip') ? chr(13) . $phone->address_ip : '' }}" shape=none labelloc="b" width=1 height={{ Session::get('show_ip') && ($physicalSecurityDevice->address_ip!=null) ? '1.5' :'1.1' }} image="/images/securitydevice.png" href="#SECURITY{{$physicalSecurityDevice->id}}"]
1309+
SECURITY{{ $physicalSecurityDevice->id }} [label="{{ $physicalSecurityDevice->name }} {{ Session::get('show_ip') ? chr(13) . $physicalSecurityDevice->address_ip : '' }}" shape=none labelloc="b" width=1 height={{ Session::get('show_ip') && ($physicalSecurityDevice->address_ip!=null) ? '1.5' :'1.1' }} image="/images/securitydevice.png" href="#SECURITY{{$physicalSecurityDevice->id}}"]
13101310
@foreach(explode(',',$physicalSecurityDevice->address_ip) as $address)
13111311
@foreach($subnetworks as $subnetwork)
13121312
@if ($subnetwork->contains($address))

0 commit comments

Comments
 (0)