From a12ed72c87fa8c1bf226b19b6ed98f7e52de0cd1 Mon Sep 17 00:00:00 2001 From: grisel-davy Date: Wed, 28 Oct 2020 21:23:49 +0100 Subject: [PATCH] Break word with CSS and not with a specific method of interfaces --- machines/models.py | 3 --- templates/base.html | 3 +-- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/machines/models.py b/machines/models.py index aa2327be..9d70eb8c 100644 --- a/machines/models.py +++ b/machines/models.py @@ -1626,9 +1626,6 @@ class Interface(RevMixin, AclMixin, FieldPermissionModelMixin, models.Model): ) return True, None, None - def splited_name(self): - return str(self).replace('.',' .') - def __init__(self, *args, **kwargs): super(Interface, self).__init__(*args, **kwargs) self.field_permissions = {"machine": self.can_change_machine} diff --git a/templates/base.html b/templates/base.html index 8e5f65dc..e4bde7f3 100644 --- a/templates/base.html +++ b/templates/base.html @@ -305,8 +305,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,