diff --git a/publichealth/home/templatetags/navigation.py b/publichealth/home/templatetags/navigation.py index 83d5c08..98d3908 100644 --- a/publichealth/home/templatetags/navigation.py +++ b/publichealth/home/templatetags/navigation.py @@ -83,6 +83,7 @@ def menuitems_children(parent, context=None): items_to_remove.append(menuitem) elif 'mitglied werden' in menuitem.title.lower() and remove_mitglied: items_to_remove.append(menuitem) + menuitem.title = menuitem.trans_title except AttributeError as ae: pass for item in items_to_remove: