mirror of
https://github.com/netbox-community/netbox.git
synced 2025-08-25 00:36:11 -06:00
renamed object_tab.html to objectchildren_list.html
This commit is contained in:
parent
46f8695e06
commit
d577f44caf
@ -216,7 +216,7 @@ class ASNRangeASNsView(generic.ObjectChildrenView):
|
|||||||
child_model = ASN
|
child_model = ASN
|
||||||
table = tables.ASNTable
|
table = tables.ASNTable
|
||||||
filterset = filtersets.ASNFilterSet
|
filterset = filtersets.ASNFilterSet
|
||||||
template_name = 'generic/object_tab.html'
|
template_name = 'generic/objectchildren_list.html'
|
||||||
tab = ViewTab(
|
tab = ViewTab(
|
||||||
label=_('ASNs'),
|
label=_('ASNs'),
|
||||||
badge=lambda x: x.get_child_asns().count(),
|
badge=lambda x: x.get_child_asns().count(),
|
||||||
@ -865,7 +865,7 @@ class IPAddressRelatedIPsView(generic.ObjectChildrenView):
|
|||||||
child_model = IPAddress
|
child_model = IPAddress
|
||||||
table = tables.IPAddressTable
|
table = tables.IPAddressTable
|
||||||
filterset = filtersets.IPAddressFilterSet
|
filterset = filtersets.IPAddressFilterSet
|
||||||
template_name = 'generic/object_tab.html'
|
template_name = 'generic/objectchildren_list.html'
|
||||||
tab = ViewTab(
|
tab = ViewTab(
|
||||||
label=_('Related IPs'),
|
label=_('Related IPs'),
|
||||||
badge=lambda x: x.get_related_ips().count(),
|
badge=lambda x: x.get_related_ips().count(),
|
||||||
@ -1075,7 +1075,7 @@ class VLANInterfacesView(generic.ObjectChildrenView):
|
|||||||
child_model = Interface
|
child_model = Interface
|
||||||
table = tables.VLANDevicesTable
|
table = tables.VLANDevicesTable
|
||||||
filterset = InterfaceFilterSet
|
filterset = InterfaceFilterSet
|
||||||
template_name = 'generic/object_tab.html'
|
template_name = 'generic/objectchildren_list.html'
|
||||||
tab = ViewTab(
|
tab = ViewTab(
|
||||||
label=_('Device Interfaces'),
|
label=_('Device Interfaces'),
|
||||||
badge=lambda x: x.get_interfaces().count(),
|
badge=lambda x: x.get_interfaces().count(),
|
||||||
@ -1093,7 +1093,7 @@ class VLANVMInterfacesView(generic.ObjectChildrenView):
|
|||||||
child_model = VMInterface
|
child_model = VMInterface
|
||||||
table = tables.VLANVirtualMachinesTable
|
table = tables.VLANVirtualMachinesTable
|
||||||
filterset = VMInterfaceFilterSet
|
filterset = VMInterfaceFilterSet
|
||||||
template_name = 'generic/object_tab.html'
|
template_name = 'generic/objectchildren_list.html'
|
||||||
tab = ViewTab(
|
tab = ViewTab(
|
||||||
label=_('VM Interfaces'),
|
label=_('VM Interfaces'),
|
||||||
badge=lambda x: x.get_vminterfaces().count(),
|
badge=lambda x: x.get_vminterfaces().count(),
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{% extends 'generic/object_tab.html' %}
|
{% extends 'generic/objectchildren_list.html' %}
|
||||||
|
|
||||||
{% block bulk_controls %}
|
{% block bulk_controls %}
|
||||||
{{ block.super }}
|
{{ block.super }}
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{% extends 'generic/object_tab.html' %}
|
{% extends 'generic/objectchildren_list.html' %}
|
||||||
|
|
||||||
{% block bulk_controls %}
|
{% block bulk_controls %}
|
||||||
{{ block.super }}
|
{{ block.super }}
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{% extends 'generic/object_tab.html' %}
|
{% extends 'generic/objectchildren_list.html' %}
|
||||||
|
|
||||||
{% block bulk_controls %}
|
{% block bulk_controls %}
|
||||||
{{ block.super }}
|
{{ block.super }}
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{% extends 'generic/object_tab.html' %}
|
{% extends 'generic/objectchildren_list.html' %}
|
||||||
|
|
||||||
{% block bulk_controls %}
|
{% block bulk_controls %}
|
||||||
{{ block.super }}
|
{{ block.super }}
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{% extends 'generic/object_tab.html' %}
|
{% extends 'generic/objectchildren_list.html' %}
|
||||||
|
|
||||||
{% block bulk_controls %}
|
{% block bulk_controls %}
|
||||||
{{ block.super }}
|
{{ block.super }}
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{% extends 'generic/object_tab.html' %}
|
{% extends 'generic/objectchildren_list.html' %}
|
||||||
|
|
||||||
{% block bulk_controls %}
|
{% block bulk_controls %}
|
||||||
{{ block.super }}
|
{{ block.super }}
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{% extends 'generic/object_tab.html' %}
|
{% extends 'generic/objectchildren_list.html' %}
|
||||||
|
|
||||||
{% block bulk_controls %}
|
{% block bulk_controls %}
|
||||||
{{ block.super }}
|
{{ block.super }}
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{% extends 'generic/object_tab.html' %}
|
{% extends 'generic/objectchildren_list.html' %}
|
||||||
|
|
||||||
{% block bulk_controls %}
|
{% block bulk_controls %}
|
||||||
{{ block.super }}
|
{{ block.super }}
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{% extends 'generic/object_tab.html' %}
|
{% extends 'generic/objectchildren_list.html' %}
|
||||||
|
|
||||||
{% block bulk_controls %}
|
{% block bulk_controls %}
|
||||||
{{ block.super }}
|
{{ block.super }}
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{% extends 'generic/object_tab.html' %}
|
{% extends 'generic/objectchildren_list.html' %}
|
||||||
|
|
||||||
{% block bulk_controls %}
|
{% block bulk_controls %}
|
||||||
{{ block.super }}
|
{{ block.super }}
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{% extends 'generic/object_tab.html' %}
|
{% extends 'generic/objectchildren_list.html' %}
|
||||||
{% load helpers %}
|
{% load helpers %}
|
||||||
|
|
||||||
{% block extra_controls %}
|
{% block extra_controls %}
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{% extends 'generic/object_tab.html' %}
|
{% extends 'generic/objectchildren_list.html' %}
|
||||||
{% load helpers %}
|
{% load helpers %}
|
||||||
|
|
||||||
{% block extra_controls %}
|
{% block extra_controls %}
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{% extends 'generic/object_tab.html' %}
|
{% extends 'generic/objectchildren_list.html' %}
|
||||||
{% load helpers %}
|
{% load helpers %}
|
||||||
|
|
||||||
{% block extra_controls %}
|
{% block extra_controls %}
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{% extends 'generic/object_tab.html' %}
|
{% extends 'generic/objectchildren_list.html' %}
|
||||||
{% load helpers %}
|
{% load helpers %}
|
||||||
|
|
||||||
{% block extra_controls %}
|
{% block extra_controls %}
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{% extends 'generic/object_tab.html' %}
|
{% extends 'generic/objectchildren_list.html' %}
|
||||||
{% load helpers %}
|
{% load helpers %}
|
||||||
|
|
||||||
{% block extra_controls %}
|
{% block extra_controls %}
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{% extends 'generic/object_tab.html' %}
|
{% extends 'generic/objectchildren_list.html' %}
|
||||||
{% load helpers %}
|
{% load helpers %}
|
||||||
|
|
||||||
{% block extra_controls %}
|
{% block extra_controls %}
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{% extends 'generic/object_tab.html' %}
|
{% extends 'generic/objectchildren_list.html' %}
|
||||||
{% load helpers %}
|
{% load helpers %}
|
||||||
|
|
||||||
{% block extra_controls %}
|
{% block extra_controls %}
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{% extends 'generic/object_tab.html' %}
|
{% extends 'generic/objectchildren_list.html' %}
|
||||||
{% load helpers %}
|
{% load helpers %}
|
||||||
|
|
||||||
{% block extra_controls %}
|
{% block extra_controls %}
|
||||||
|
@ -175,7 +175,7 @@ class ClusterVirtualMachinesView(generic.ObjectChildrenView):
|
|||||||
child_model = VirtualMachine
|
child_model = VirtualMachine
|
||||||
table = tables.VirtualMachineTable
|
table = tables.VirtualMachineTable
|
||||||
filterset = filtersets.VirtualMachineFilterSet
|
filterset = filtersets.VirtualMachineFilterSet
|
||||||
template_name = 'generic/object_tab.html'
|
template_name = 'generic/objectchildren_list.html'
|
||||||
tab = ViewTab(
|
tab = ViewTab(
|
||||||
label=_('Virtual Machines'),
|
label=_('Virtual Machines'),
|
||||||
badge=lambda obj: obj.virtual_machines.count(),
|
badge=lambda obj: obj.virtual_machines.count(),
|
||||||
@ -193,7 +193,7 @@ class ClusterDevicesView(generic.ObjectChildrenView):
|
|||||||
child_model = Device
|
child_model = Device
|
||||||
table = DeviceTable
|
table = DeviceTable
|
||||||
filterset = DeviceFilterSet
|
filterset = DeviceFilterSet
|
||||||
template_name = 'generic/object_tab.html'
|
template_name = 'generic/objectchildren_list.html'
|
||||||
tab = ViewTab(
|
tab = ViewTab(
|
||||||
label=_('Devices'),
|
label=_('Devices'),
|
||||||
badge=lambda obj: obj.devices.count(),
|
badge=lambda obj: obj.devices.count(),
|
||||||
@ -346,7 +346,7 @@ class VirtualMachineInterfacesView(generic.ObjectChildrenView):
|
|||||||
child_model = VMInterface
|
child_model = VMInterface
|
||||||
table = tables.VirtualMachineVMInterfaceTable
|
table = tables.VirtualMachineVMInterfaceTable
|
||||||
filterset = filtersets.VMInterfaceFilterSet
|
filterset = filtersets.VMInterfaceFilterSet
|
||||||
template_name = 'generic/object_tab.html'
|
template_name = 'generic/objectchildren_list.html'
|
||||||
tab = ViewTab(
|
tab = ViewTab(
|
||||||
label=_('Interfaces'),
|
label=_('Interfaces'),
|
||||||
badge=lambda obj: obj.interfaces.count(),
|
badge=lambda obj: obj.interfaces.count(),
|
||||||
|
Loading…
Reference in New Issue
Block a user