Rename view_tab.html and move to generic/

This commit is contained in:
Jeremy Stretch 2023-08-07 10:58:16 -04:00
parent fa09a4770f
commit d790c79627
20 changed files with 19 additions and 19 deletions

View File

@ -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):
"""

View File

@ -1,4 +1,4 @@
{% extends 'inc/tab_view.html' %}
{% extends 'generic/object_tab.html' %}
{% block extra_contols_bottom %}
{% if perms.dcim.add_consoleserverport %}

View File

@ -1,4 +1,4 @@
{% extends 'inc/tab_view.html' %}
{% extends 'generic/object_tab.html' %}
{% block bulk_delete_control %}
{% if 'bulk_edit' in actions %}

View File

@ -1,4 +1,4 @@
{% extends 'inc/tab_view.html' %}
{% extends 'generic/object_tab.html' %}
{% block extra_contols_bottom %}
{% if perms.dcim.add_devicebay %}

View File

@ -1,4 +1,4 @@
{% extends 'inc/tab_view.html' %}
{% extends 'generic/object_tab.html' %}
{% block bulk_delete_control %}
{% if 'bulk_edit' in actions %}

View File

@ -1,4 +1,4 @@
{% extends 'inc/tab_view.html' %}
{% extends 'generic/object_tab.html' %}
{% block bulk_delete_control %}
{% if 'bulk_edit' in actions %}

View File

@ -1,4 +1,4 @@
{% extends 'inc/tab_view.html' %}
{% extends 'generic/object_tab.html' %}
{% block extra_contols_bottom %}
{% if perms.dcim.add_inventoryitem %}

View File

@ -1,4 +1,4 @@
{% extends 'inc/tab_view.html' %}
{% extends 'generic/object_tab.html' %}
{% block extra_contols_bottom %}
{% if perms.dcim.add_modulebay %}

View File

@ -1,4 +1,4 @@
{% extends 'inc/tab_view.html' %}
{% extends 'generic/object_tab.html' %}
{% block bulk_delete_control %}
{% if 'bulk_edit' in actions %}

View File

@ -1,4 +1,4 @@
{% extends 'inc/tab_view.html' %}
{% extends 'generic/object_tab.html' %}
{% block bulk_delete_control %}
{% if 'bulk_edit' in actions %}

View File

@ -1,4 +1,4 @@
{% extends 'inc/tab_view.html' %}
{% extends 'generic/object_tab.html' %}
{% block bulk_delete_control %}
{% if 'bulk_edit' in actions %}

View File

@ -1,4 +1,4 @@
{% extends 'inc/tab_view.html' %}
{% extends 'generic/object_tab.html' %}
{% load helpers %}
{% block extra_controls %}

View File

@ -1,4 +1,4 @@
{% extends 'inc/tab_view.html' %}
{% extends 'generic/object_tab.html' %}
{% load helpers %}
{% block extra_controls %}

View File

@ -1,4 +1,4 @@
{% extends 'inc/tab_view.html' %}
{% extends 'generic/object_tab.html' %}
{% load helpers %}
{% block extra_controls %}

View File

@ -1,4 +1,4 @@
{% extends 'inc/tab_view.html' %}
{% extends 'generic/object_tab.html' %}
{% load helpers %}
{% block extra_controls %}

View File

@ -1,4 +1,4 @@
{% extends 'inc/tab_view.html' %}
{% extends 'generic/object_tab.html' %}
{% load helpers %}
{% block extra_controls %}

View File

@ -1,4 +1,4 @@
{% extends 'inc/tab_view.html' %}
{% extends 'generic/object_tab.html' %}
{% load helpers %}
{% block extra_controls %}

View File

@ -1,4 +1,4 @@
{% extends 'inc/tab_view.html' %}
{% extends 'generic/object_tab.html' %}
{% load helpers %}
{% block extra_controls %}

View File

@ -1,4 +1,4 @@
{% extends 'inc/tab_view.html' %}
{% extends 'generic/object_tab.html' %}
{% load helpers %}
{% block extra_controls %}