mirror of
https://github.com/netbox-community/netbox.git
synced 2025-08-09 00:58:16 -06:00
Remove obsolete code
This commit is contained in:
parent
837d402f1d
commit
cb88a2f6ba
@ -6,7 +6,6 @@ from django.utils.translation import gettext_lazy as _
|
|||||||
from extras.models import *
|
from extras.models import *
|
||||||
from netbox.constants import EMPTY_TABLE_TEXT
|
from netbox.constants import EMPTY_TABLE_TEXT
|
||||||
from netbox.tables import BaseTable, NetBoxTable, columns
|
from netbox.tables import BaseTable, NetBoxTable, columns
|
||||||
from .template_code import *
|
|
||||||
|
|
||||||
__all__ = (
|
__all__ = (
|
||||||
'BookmarkTable',
|
'BookmarkTable',
|
||||||
|
@ -1,8 +0,0 @@
|
|||||||
CONFIGCONTEXT_ACTIONS = """
|
|
||||||
{% if perms.extras.change_configcontext %}
|
|
||||||
<a href="{% url 'extras:configcontext_edit' pk=record.pk %}" class="btn btn-sm btn-warning"><i class="mdi mdi-pencil" aria-hidden="true"></i></a>
|
|
||||||
{% endif %}
|
|
||||||
{% if perms.extras.delete_configcontext %}
|
|
||||||
<a href="{% url 'extras:configcontext_delete' pk=record.pk %}" class="btn btn-sm btn-danger"><i class="mdi mdi-trash-can-outline" aria-hidden="true"></i></a>
|
|
||||||
{% endif %}
|
|
||||||
"""
|
|
Loading…
Reference in New Issue
Block a user