mirror of
https://github.com/netbox-community/netbox.git
synced 2025-08-24 08:25:17 -06:00
Rename view_tab.html and move to generic/
This commit is contained in:
parent
fa09a4770f
commit
d790c79627
@ -91,7 +91,7 @@ class ObjectChildrenView(ObjectView, ActionsMixin, TableMixin):
|
||||
child_model = None
|
||||
table = None
|
||||
filterset = None
|
||||
template_name = 'inc/tab_view.html'
|
||||
template_name = 'generic/object_tab.html'
|
||||
|
||||
def get_children(self, request, parent):
|
||||
"""
|
||||
|
@ -1,4 +1,4 @@
|
||||
{% extends 'inc/tab_view.html' %}
|
||||
{% extends 'generic/object_tab.html' %}
|
||||
|
||||
{% block extra_contols_bottom %}
|
||||
{% if perms.dcim.add_consoleserverport %}
|
||||
|
@ -1,4 +1,4 @@
|
||||
{% extends 'inc/tab_view.html' %}
|
||||
{% extends 'generic/object_tab.html' %}
|
||||
|
||||
{% block bulk_delete_control %}
|
||||
{% if 'bulk_edit' in actions %}
|
||||
|
@ -1,4 +1,4 @@
|
||||
{% extends 'inc/tab_view.html' %}
|
||||
{% extends 'generic/object_tab.html' %}
|
||||
|
||||
{% block extra_contols_bottom %}
|
||||
{% if perms.dcim.add_devicebay %}
|
||||
|
@ -1,4 +1,4 @@
|
||||
{% extends 'inc/tab_view.html' %}
|
||||
{% extends 'generic/object_tab.html' %}
|
||||
|
||||
{% block bulk_delete_control %}
|
||||
{% if 'bulk_edit' in actions %}
|
||||
|
@ -1,4 +1,4 @@
|
||||
{% extends 'inc/tab_view.html' %}
|
||||
{% extends 'generic/object_tab.html' %}
|
||||
|
||||
{% block bulk_delete_control %}
|
||||
{% if 'bulk_edit' in actions %}
|
||||
|
@ -1,4 +1,4 @@
|
||||
{% extends 'inc/tab_view.html' %}
|
||||
{% extends 'generic/object_tab.html' %}
|
||||
|
||||
{% block extra_contols_bottom %}
|
||||
{% if perms.dcim.add_inventoryitem %}
|
||||
|
@ -1,4 +1,4 @@
|
||||
{% extends 'inc/tab_view.html' %}
|
||||
{% extends 'generic/object_tab.html' %}
|
||||
|
||||
{% block extra_contols_bottom %}
|
||||
{% if perms.dcim.add_modulebay %}
|
||||
|
@ -1,4 +1,4 @@
|
||||
{% extends 'inc/tab_view.html' %}
|
||||
{% extends 'generic/object_tab.html' %}
|
||||
|
||||
{% block bulk_delete_control %}
|
||||
{% if 'bulk_edit' in actions %}
|
||||
|
@ -1,4 +1,4 @@
|
||||
{% extends 'inc/tab_view.html' %}
|
||||
{% extends 'generic/object_tab.html' %}
|
||||
|
||||
{% block bulk_delete_control %}
|
||||
{% if 'bulk_edit' in actions %}
|
||||
|
@ -1,4 +1,4 @@
|
||||
{% extends 'inc/tab_view.html' %}
|
||||
{% extends 'generic/object_tab.html' %}
|
||||
|
||||
{% block bulk_delete_control %}
|
||||
{% if 'bulk_edit' in actions %}
|
||||
|
@ -1,4 +1,4 @@
|
||||
{% extends 'inc/tab_view.html' %}
|
||||
{% extends 'generic/object_tab.html' %}
|
||||
{% load helpers %}
|
||||
|
||||
{% block extra_controls %}
|
||||
|
@ -1,4 +1,4 @@
|
||||
{% extends 'inc/tab_view.html' %}
|
||||
{% extends 'generic/object_tab.html' %}
|
||||
{% load helpers %}
|
||||
|
||||
{% block extra_controls %}
|
||||
|
@ -1,4 +1,4 @@
|
||||
{% extends 'inc/tab_view.html' %}
|
||||
{% extends 'generic/object_tab.html' %}
|
||||
{% load helpers %}
|
||||
|
||||
{% block extra_controls %}
|
||||
|
@ -1,4 +1,4 @@
|
||||
{% extends 'inc/tab_view.html' %}
|
||||
{% extends 'generic/object_tab.html' %}
|
||||
{% load helpers %}
|
||||
|
||||
{% block extra_controls %}
|
||||
|
@ -1,4 +1,4 @@
|
||||
{% extends 'inc/tab_view.html' %}
|
||||
{% extends 'generic/object_tab.html' %}
|
||||
{% load helpers %}
|
||||
|
||||
{% block extra_controls %}
|
||||
|
@ -1,4 +1,4 @@
|
||||
{% extends 'inc/tab_view.html' %}
|
||||
{% extends 'generic/object_tab.html' %}
|
||||
{% load helpers %}
|
||||
|
||||
{% block extra_controls %}
|
||||
|
@ -1,4 +1,4 @@
|
||||
{% extends 'inc/tab_view.html' %}
|
||||
{% extends 'generic/object_tab.html' %}
|
||||
{% load helpers %}
|
||||
|
||||
{% block extra_controls %}
|
||||
|
@ -1,4 +1,4 @@
|
||||
{% extends 'inc/tab_view.html' %}
|
||||
{% extends 'generic/object_tab.html' %}
|
||||
{% load helpers %}
|
||||
|
||||
{% block extra_controls %}
|
||||
|
Loading…
Reference in New Issue
Block a user