From a5d23135eb4a750dae1b0f7664f0ef22728f0f26 Mon Sep 17 00:00:00 2001 From: Christoph Ladurner Date: Thu, 25 Jan 2024 21:21:38 +0100 Subject: [PATCH] ui: remove commented code * the overriding is solved by overriding the translation strings --- invenio_theme_tugraz/views.py | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/invenio_theme_tugraz/views.py b/invenio_theme_tugraz/views.py index e8232bc..7efb700 100644 --- a/invenio_theme_tugraz/views.py +++ b/invenio_theme_tugraz/views.py @@ -65,16 +65,6 @@ def modify_user_dashboard(): """Modify user dashboard.""" user_dashboard_menu = current_menu.submenu("dashboard") - # order matters, this has to be here, otherwise it want override the orginal - # entry - - # this is to buggy, it depends on the load order of the packages which is indeterminate - # user_dashboard_menu.submenu("uploads").register( - # "invenio_app_rdm_users.uploads", - # text=_("Research Results"), - # order=1, - # ) - user_dashboard_menu.submenu("overview").register( "invenio_theme_tugraz.overview", text=_("Overview"),