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

Convert all LinkColumns to Column(linkify=True)

This commit is contained in:
jeremystretch
2021-04-02 16:59:53 -04:00
parent ea9e9d7273
commit 779837389b
11 changed files with 80 additions and 42 deletions

View File

@ -10,7 +10,9 @@ from .models import SecretRole, Secret
class SecretRoleTable(BaseTable):
pk = ToggleColumn()
name = tables.LinkColumn()
name = tables.Column(
linkify=True
)
secret_count = LinkedCountColumn(
viewname='secrets:secret_list',
url_params={'role': 'slug'},