We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 4375f79 + 065f567 commit 6d1b5ebCopy full SHA for 6d1b5eb
web/templates/admin/list_web.html
@@ -57,6 +57,7 @@
57
58
<div class="l-center units narrow">
59
<?php
60
+ $ips = json_decode(shell_exec(VESTA_CMD.'v-list-sys-ips json'), true);
61
foreach ($data as $key => $value) {
62
++$i;
63
if ($data[$key]['SUSPENDED'] == 'yes') {
@@ -178,7 +179,7 @@
178
179
</div>
180
<!-- /.l-unit__name -->
181
<div class="l-unit__ip">
- <?=str_replace('.', '<span>.</span>', $data[$key]['IP'])?>
182
+ <?=empty($ips[$data[$key]['IP']]['NAT']) ? $data[$key]['IP'] : "{$data[$key]['IP']} → {$ips[$data[$key]['IP']]['NAT']}"; ?>
183
184
<!-- /.l-unit__ip -->
185
<div class="l-unit__stats">
0 commit comments