From a2e31c7d4643521cf26483bed072a817af8a0310 Mon Sep 17 00:00:00 2001 From: Ryan Merolle Date: Sun, 10 Jul 2022 10:21:18 -0400 Subject: [PATCH] Bugs (#26) * remove routingpolicy template * Correct get_type_display title --- .../netbox_access_lists/accesslist.html | 2 +- .../netbox_access_lists/routingpolicy.html | 94 ------------------- 2 files changed, 1 insertion(+), 95 deletions(-) delete mode 100644 netbox_access_lists/templates/netbox_access_lists/routingpolicy.html diff --git a/netbox_access_lists/templates/netbox_access_lists/accesslist.html b/netbox_access_lists/templates/netbox_access_lists/accesslist.html index e7c75f9..43e6d23 100644 --- a/netbox_access_lists/templates/netbox_access_lists/accesslist.html +++ b/netbox_access_lists/templates/netbox_access_lists/accesslist.html @@ -50,7 +50,7 @@ {{ object.name }} - Default Action + Type {{ object.get_type_display }} diff --git a/netbox_access_lists/templates/netbox_access_lists/routingpolicy.html b/netbox_access_lists/templates/netbox_access_lists/routingpolicy.html deleted file mode 100644 index 00ec953..0000000 --- a/netbox_access_lists/templates/netbox_access_lists/routingpolicy.html +++ /dev/null @@ -1,94 +0,0 @@ -{% extends 'generic/object.html' %} -{% load buttons %} -{% load custom_links %} -{% load helpers %} -{% load plugins %} -{% load render_table from django_tables2 %} - -{% block breadcrumbs %} - -{% endblock %} -{% block controls %} -
- {% if perms.netbox_bgp.change_policy %} - - Rule - - {% endif %} - {% if perms.netbox_bgp.change_policy %} - - Edit - - {% endif %} - {% if perms.netbox_bgp.delete_policy %} - - Delete - - {% endif %} -
-{% endblock controls %} -{% block tabs %} - -{% endblock tabs %} - -{% block content %} -
-
-
-
- Routing Policy -
-
- - - - - - - - - -
name{{ object.name }}
Description{{ object.description|placeholder }}
-
-
- {% include 'inc/panels/custom_fields.html' %} - {% include 'inc/panels/tags.html' %} - {% plugin_left_page object %} -
-
-
-
- Related BGP Sessions -
-
- {% render_table related_session_table 'inc/table.html' %} -
- {% plugin_right_page object %} -
-
-
-
-
-
-
- Rules -
-
- {% render_table rules_table 'inc/table.html' %} -
- {% plugin_full_width_page object %} -
-
-
-{% endblock %} \ No newline at end of file