Przeglądaj źródła

netbox-community#10055 - Align NAT Outside with NAT Inside

atownson 3 lat temu
rodzic
commit
0bdee1d6d8
1 zmienionych plików z 5 dodań i 2 usunięć
  1. 5 2
      netbox/templates/ipam/ipaddress.html

+ 5 - 2
netbox/templates/ipam/ipaddress.html

@@ -91,10 +91,13 @@
                       </td>
                   </tr>
                   <tr>
-                      <th scope="row">Outside NAT IPs</th>
+                      <th scope="row">NAT (Outside)</th>
                       <td>
                         {% for ip in object.nat_outside.all %}
-                          {{ ip|linkify }}<br/>
+                          {{ ip|linkify }}
+                            {% if ip.assigned_object %}
+                              ({{ ip.assigned_object.parent_object|linkify }})
+                            {% endif %}<br/>
                         {% empty %}
                           {{ ''|placeholder }}
                         {% endfor %}