diff --git a/openslides/agenda/models.py b/openslides/agenda/models.py index 7d6f706cf..119a2f7da 100644 --- a/openslides/agenda/models.py +++ b/openslides/agenda/models.py @@ -137,7 +137,7 @@ class Item(MPTTModel, SlideMixin): # TODO: Rename it to 'get_related_object' object = get_slide_from_sid(self.related_sid, element=True) if object is None: - self.title = _('Item for deleted slide %s') % self.related_sid + self.title = _('< Item for deleted slide (%s) >') % self.related_sid self.related_sid = None self.save() return self diff --git a/openslides/agenda/templates/agenda/view.html b/openslides/agenda/templates/agenda/view.html index 2fe33e92b..5db1cc341 100644 --- a/openslides/agenda/templates/agenda/view.html +++ b/openslides/agenda/templates/agenda/view.html @@ -20,27 +20,25 @@