Merge branch 'develop' into develop-2.6

This commit is contained in:
Jeremy Stretch
2019-02-22 12:10:44 -05:00
17 changed files with 78 additions and 14 deletions

View File

@@ -2644,6 +2644,9 @@ class Cable(ChangeLoggedModel):
self.length_unit,
)
def get_status_class(self):
return 'success' if self.status else 'info'
def get_path_endpoints(self):
"""
Traverse both ends of a cable path and return its connected endpoints. Note that one or both endpoints may be