From 4746cd2938df3cf87ae338d22eb4f67f35bac960 Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Mon, 14 Nov 2022 18:58:48 +0100 Subject: Remove dead code about dashboards --- archaeological_files/ishtar_menu.py | 31 ------------------------------- 1 file changed, 31 deletions(-) (limited to 'archaeological_files/ishtar_menu.py') diff --git a/archaeological_files/ishtar_menu.py b/archaeological_files/ishtar_menu.py index 3d6b85466..517b0276d 100644 --- a/archaeological_files/ishtar_menu.py +++ b/archaeological_files/ishtar_menu.py @@ -100,34 +100,3 @@ MENU_SECTIONS = [ ), ), ] -""" - (100, - SectionItem( - 'dashboard', _("Dashboard"), - profile_restriction='files', - css='menu-file', - childs=[MenuItem('dashboard_main', _("General informations"), - model=models.File, - access_controls=['change_file', 'change_own_file']), - MenuItem('dashboard_file', _("Archaeological files"), - model=models.File, - access_controls=['change_file', 'change_own_file']), - ]), - ), - SectionItem('dashboard', _("Dashboard"), - childs=[ - MenuItem('dashboard_main', _("General informations"), - model=models.File, - access_controls=['change_file', 'change_own_file']), - MenuItem('dashboard_file', _("Archaeological files"), - model=models.File, - access_controls=['change_file', 'change_own_file']), - #MenuItem('dashboard_treatment', _("Treatments"), - # model=models.Treatment, - # access_controls=['change_treatment',]), - #MenuItem('dashboard_warehouse', _("Warehouses"), - # model=models.Warehouse, - # access_controls=['change_warehouse',]), - ]), - ] -""" -- cgit v1.2.3