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

Closes #2601: Added a description field to pass-through ports

This commit is contained in:
Jeremy Stretch
2018-11-20 21:28:19 -05:00
parent 240d22696f
commit d59be2912e
9 changed files with 38 additions and 9 deletions

View File

@@ -594,7 +594,7 @@ class FrontPortTable(BaseTable):
class Meta(BaseTable.Meta):
model = FrontPort
fields = ('name', 'type', 'rear_port', 'rear_port_position')
fields = ('name', 'type', 'rear_port', 'rear_port_position', 'description')
empty_text = "None"
@@ -602,7 +602,7 @@ class RearPortTable(BaseTable):
class Meta(BaseTable.Meta):
model = RearPort
fields = ('name', 'type', 'positions')
fields = ('name', 'type', 'positions', 'description')
empty_text = "None"