1
0
mirror of https://github.com/netbox-community/netbox.git synced 2024-05-10 07:54:54 +00:00

Closes #14551: Show assigned tunnel (if any) under interface view

This commit is contained in:
Jeremy Stretch
2023-12-19 10:31:18 -05:00
parent 25e67eb555
commit 96878cfca6
2 changed files with 12 additions and 4 deletions

View File

@ -86,6 +86,14 @@
<th scope="row">{% trans "Transmit power (dBm)" %}</th> <th scope="row">{% trans "Transmit power (dBm)" %}</th>
<td>{{ object.tx_power|placeholder }}</td> <td>{{ object.tx_power|placeholder }}</td>
</tr> </tr>
<tr>
<th scope="row">{% trans "Tunnel" %}</th>
<td>{{ object.tunnel_termination.tunnel|linkify|placeholder }}</td>
</tr>
<tr>
<th scope="row">{% trans "L2VPN" %}</th>
<td>{{ object.l2vpn_termination.l2vpn|linkify|placeholder }}</td>
</tr>
</table> </table>
</div> </div>
</div> </div>
@ -105,10 +113,6 @@
<th scope="row">{% trans "LAG" %}</th> <th scope="row">{% trans "LAG" %}</th>
<td>{{ object.lag|linkify|placeholder }}</td> <td>{{ object.lag|linkify|placeholder }}</td>
</tr> </tr>
<tr>
<th scope="row">{% trans "L2VPN" %}</th>
<td>{{ object.l2vpn_termination.l2vpn|linkify|placeholder }}</td>
</tr>
</table> </table>
</div> </div>
</div> </div>

View File

@ -66,6 +66,10 @@
<th scope="row">{% trans "802.1Q Mode" %}</th> <th scope="row">{% trans "802.1Q Mode" %}</th>
<td>{{ object.get_mode_display|placeholder }}</td> <td>{{ object.get_mode_display|placeholder }}</td>
</tr> </tr>
<tr>
<th scope="row">{% trans "Tunnel" %}</th>
<td>{{ object.tunnel_termination.tunnel|linkify|placeholder }}</td>
</tr>
</table> </table>
</div> </div>
</div> </div>