Interface count for asset
This commit is contained in:
+50
@@ -0,0 +1,50 @@
|
||||
<table class="title">
|
||||
<tr>
|
||||
<td class="header">
|
||||
{$lang_nat_rules} ({$nats|@count})
|
||||
</td>
|
||||
<td align="right">
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<table class="info">
|
||||
<tr>
|
||||
<td class="header">
|
||||
{$lang_nat}
|
||||
</td>
|
||||
<td class="header">
|
||||
{$lang_source} (ext)
|
||||
</td>
|
||||
<td class="header">
|
||||
{$lang_target} (int)
|
||||
</td>
|
||||
<td class="header">
|
||||
{$lang_nat_type}
|
||||
</td>
|
||||
</tr>
|
||||
{foreach item=nat from=$nats}
|
||||
<tr>
|
||||
<td class="label">
|
||||
Rule #{$nat.id} {$nat.description}
|
||||
</td>
|
||||
<td class="label">
|
||||
<a href="nodeview.php?node_id={$nat.nat_ext}">{$nat.node_ip_ext}</a>
|
||||
{if $nat.port_ext}:{$nat.port_ext}{/if}
|
||||
<td class="label">
|
||||
<a href="nodeview.php?node_id={$nat.nat_int}">{$nat.node_ip_int}</a>
|
||||
{if $nat.port_int}:{$nat.port_int}{/if}
|
||||
</td>
|
||||
<td class="value">
|
||||
{$nat.nat_type}
|
||||
</td>
|
||||
</tr>
|
||||
{foreachelse}
|
||||
<tr>
|
||||
<td colspan="3">
|
||||
{$lang_nat_none}
|
||||
</td>
|
||||
</tr>
|
||||
{/foreach}
|
||||
</table>
|
||||
Reference in New Issue
Block a user