You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
121 lines
2.9 KiB
121 lines
2.9 KiB
<table class="title">
|
|
<tr>
|
|
<td class="header">
|
|
<img class="icon" src="images/asset.png" alt="" />
|
|
{$asset->asset_name}
|
|
</td>
|
|
<td align="right">
|
|
{if $suser_add}
|
|
<a href="assignnodetoasset.php?asset_id={$asset->asset_id}"><img src="image.php?icon=add" alt="{$lang_assignnodetoasset}"></a>
|
|
{/if}
|
|
{if $suser_edit}
|
|
<a href="asset.php?f=edit&id={$asset->asset_id}"><img src="image.php?icon=edit" alt="{$lang_asset_edit}"></a>
|
|
{/if}
|
|
{if $suser_delete}
|
|
<a href="asset.php?f=del&id={$asset->asset_id}"><img src="image.php?icon=delete" alt="{$lang_asset_edit}"></a>
|
|
{/if}
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
|
|
<table class="info">
|
|
<tr>
|
|
<td class="header">
|
|
{$lang_asset}
|
|
</td>
|
|
<td class="header_right">
|
|
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="label">
|
|
{$lang_asset_name}
|
|
</td>
|
|
<td class="value">
|
|
<a href="asset.php?f=view&id={$asset->asset_id}">{$asset->asset_name}</a>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="label">
|
|
{$lang_asset_hostname}
|
|
</td>
|
|
<td class="value">
|
|
{$asset->asset_hostname}
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="label">
|
|
{$lang_asset_info}
|
|
</td>
|
|
<td class="value">
|
|
{$asset->asset_info}
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="label">
|
|
{$lang_asset_intf}
|
|
</td>
|
|
<td class="value">
|
|
{$asset->asset_intf}
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="label">
|
|
{$lang_asset_type}
|
|
</td>
|
|
<td class="value">
|
|
{$asset->asset_type}
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<table class="info">
|
|
<tr>
|
|
<td class="header">
|
|
{$lang_assetclass}
|
|
</td>
|
|
<td class="header_right">
|
|
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="label">
|
|
{$lang_assetclass_name}
|
|
</td>
|
|
<td class="value">
|
|
<a href="assetclass.php?f=view&id={$asset->assetclass_id}">{$asset->assetclass_name}</a>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
|
|
<table class="info">
|
|
<tr>
|
|
<td class="header">
|
|
{$lang_nodes}
|
|
</td>
|
|
<td class="header_right">
|
|
{if $suser_edit}
|
|
<a href="node.php?f=link&asset_id={$asset->asset_id}"><img src="image.php?icon=edit" alt="{$lang_assignnodetoasset}"></a>
|
|
{/if}
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="label">
|
|
{$lang_nodes} ({$nodes|@count})
|
|
</td>
|
|
<td class="value">
|
|
{foreach item=node from=$nodes}
|
|
{if !$node.deleted}
|
|
<a href="node.php?f=view&id={$node.node_id}">{if $node.node_ip}{$node.node_ip}{else}(leer){/if}</a>
|
|
{if $node.node_info}{$node.node_info}{/if}<br>
|
|
{else}
|
|
{if $suser_admin or $suser_manage}
|
|
<s>{if $node.node_ip}{$node.node_ip}{else}(leer){/if}</s>
|
|
{if $node.node_info}{$node.node_info}{/if}<br>
|
|
{/if}
|
|
{/if}
|
|
{/foreach}
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
|