* [bug#56986] Fix bug for host view.

This commit is contained in:
liyang
2024-11-13 17:00:56 +08:00
committed by 曹延义
parent 5a9540f729
commit 96db8da2c9
+3 -2
View File
@@ -47,7 +47,7 @@ detailBody
zget($host, 'CD') == 'spug' ? h::tr
(
h::th($lang->host->admin),
h::td(zget($host, 'admin')),
h::td(zget($host, 'admin'))
) : null,
zget($host, 'CD') == 'spug' ? h::tr
(
@@ -80,7 +80,8 @@ detailBody
zget($host, 'CD') != 'spug' ? h::th($lang->host->osName) : null,
zget($host, 'CD') != 'spug' ? h::td($host->osName) : null,
h::th($lang->host->osVersion),
h::td(zget($host, 'CD') != 'spug' ? zget($lang->host->{$host->osName.'List'}, $host->osVersion) : $host->osName)
zget($host, 'CD') == 'spug' ? h::td($host->osVersion) : null,
zget($host, 'CD') != 'spug' && !empty($host->osName) ? h::td(zget($lang->host->{$host->osName.'List'}, $host->osVersion)) : null
),
zget($host, 'CD') != 'spug' ? h::tr
(