Преглед на файлове

feat(virtualization): Add Q-in-Q SVLAN to VMinterface template (#19345)

Martin Hauser преди 1 година
родител
ревизия
1141ddb22a
променени са 1 файла, в които са добавени 6 реда и са изтрити 0 реда
  1. 6 0
      netbox/templates/virtualization/vminterface.html

+ 6 - 0
netbox/templates/virtualization/vminterface.html

@@ -55,6 +55,12 @@
           <th scope="row">{% trans "802.1Q Mode" %}</th>
           <td>{{ object.get_mode_display|placeholder }}</td>
         </tr>
+        {% if object.mode == 'q-in-q' %}
+          <tr>
+              <th scope="row">{% trans "Q-in-Q SVLAN" %}</th>
+              <td>{{ object.qinq_svlan|linkify|placeholder }}</td>
+          </tr>
+        {% endif %}
         <tr>
           <th scope="row">{% trans "Tunnel" %}</th>
           <td>{{ object.tunnel_termination.tunnel|linkify|placeholder }}</td>