src/grid/AddressGridView.php 1 location
|
@@ 25-27 (lines=3) @@
|
22 |
|
return array_merge(parent::columns(), [ |
23 |
|
'ip' => [ |
24 |
|
'format' => 'html', |
25 |
|
'value' => static function (Address $address) { |
26 |
|
return Html::a($address->ip, ['@address/view', 'id' => $address->id], ['class' => 'text-bold']); |
27 |
|
}, |
28 |
|
], |
29 |
|
'actions' => [ |
30 |
|
'class' => MenuColumn::class, |
src/grid/PrefixGridView.php 1 location
|
@@ 31-33 (lines=3) @@
|
28 |
|
return array_merge(parent::columns(), [ |
29 |
|
'ip' => [ |
30 |
|
'format' => 'html', |
31 |
|
'value' => static function (Prefix $prefix) { |
32 |
|
return Html::a($prefix->ip, ['@prefix/view', 'id' => $prefix->id], ['class' => 'text-bold']); |
33 |
|
}, |
34 |
|
], |
35 |
|
'type' => [ |
36 |
|
'class' => RefColumn::class, |