From 62a9142faa07f33e71d5e9658c458a984f3a0823 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 74a693fc..9de7d307 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.,