1
0
mirror of https://github.com/netbox-community/netbox.git synced 2024-05-10 07:54:54 +00:00

Closes #1691: Cleaned up and reorganized import statements

This commit is contained in:
Jeremy Stretch
2017-11-07 11:08:23 -05:00
parent 2519ebff9d
commit 00986fd7bf
83 changed files with 159 additions and 219 deletions

View File

@@ -3,10 +3,8 @@ from __future__ import unicode_literals
import django_tables2 as tables
from utilities.tables import BaseTable, ToggleColumn
from .models import Tenant, TenantGroup
TENANTGROUP_ACTIONS = """
{% if perms.tenancy.change_tenantgroup %}
<a href="{% url 'tenancy:tenantgroup_edit' slug=record.slug %}" class="btn btn-xs btn-warning"><i class="glyphicon glyphicon-pencil" aria-hidden="true"></i></a>